Ticket #35896: patch-Makefile-separate-cppflags.diff
File patch-Makefile-separate-cppflags.diff, 658 bytes (added by neverpanic (Clemens Lang), 12 years ago) |
---|
-
Makefile
old new 34 34 35 35 %.o: %.c version.mk 36 36 $(call colorecho,CC,$<) 37 $(VERBOSE) $(CC) -c $(C FLAGS) -o $@ $<38 $(VERBOSE) $(CC) -c $(C FLAGS) -o $*.d -MT $@ -MM $<37 $(VERBOSE) $(CC) -c $(CPPFLAGS) $(CFLAGS) -o $@ $< 38 $(VERBOSE) $(CC) -c $(CPPFLAGS) -o $*.d -MT $@ -MM $< 39 39 40 40 info: 41 41 @echo Some Info: 42 @echo Compiling with: $(CC) -c $(CFLAGS) -o OUT INPUT 42 @echo Preprocessing with: $(CC) -E $(CPPFLAGS) 43 @echo Compiling with: $(CC) -c $(CPPFLAGS) $(CFLAGS) -o OUT INPUT 43 44 @echo Linking with: $(LD) -o OUT $(LDFLAGS) INPUT 44 45 45 46 clean: cleandoc cleandeps