Codebase list c2050 / 9b03976
Inherit CFLAGS and LDFLAGS from the environment. Also use CPPFLAGS in the building command Last-Update: 2014-04-13 Didier Raboud 6 years ago
1 changed file(s) with 3 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
99 # Important compiler and linker options
1010 CC=gcc
1111 LD=gcc
12 CFLAGS=-g -O2
13 LDFLAGS=-g -O2
12 CFLAGS+=-g -O2
13 LDFLAGS+=-g -O2
1414
1515 # Required libraries
1616 LDLIBS=
2222
2323 # Standard production rule
2424 .c.o:
25 $(CC) $(CFLAGS) -c $<
25 $(CC) $(CPPFLAGS) $(CFLAGS) -c $<
2626
2727 # make all
2828 all: c2050