From: Morten Welinder Date: Fri, 04 Nov 2005 15:21:55 GMT Subject: CFLAGS usage Message-ID: <118833cc0511040721w7f3990fbw631feaa6a4bda936@mail.gmail.com> Various stuff is being added to CFLAGS, but CFLAGS is not being used after being composed in CFLAGS_ALL. Morten grep CFLAGS Makefile CFLAGS = -g -O2 -Wall ALL_CFLAGS = $(CFLAGS) $(PLATFORM_DEFINES) $(DEFINES) CFLAGS += -I$(CURLDIR)/include CFLAGS += -I$(OPENSSLDIR)/include CFLAGS += -I$(ICONVDIR)/include $(CC) -o $*.o -c $(ALL_CFLAGS) $< $(CC) -o $*.o -c $(ALL_CFLAGS) $< $(CC) $(ALL_CFLAGS) -o $@ $(filter %.o,$^) $(LIBS) $(CC) $(ALL_CFLAGS) -o $@ $(filter %.o,$^) $(LIB_FILE) $(SIMPLE_LIB) $(CC) -c $(ALL_CFLAGS) \ $(CC) $(ALL_CFLAGS) -o $@ test-date.c date.o ctype.o $(CC) $(ALL_CFLAGS) -o $@ $^ for i in *.c; do sparse $(ALL_CFLAGS) $(SPARSE_FLAGS) $$i; done