{"thread":{"id":"21844","subject":"[PATCH 1/2] Makefile: Add a target to generate C preprocessor output files","startedAt":"2009-12-03T18:11:57Z","lastAt":"2009-12-03T18:11:57Z","messageCount":1,"participants":["Ramsay Jones"],"isPatch":true,"patchVersion":1,"patchTotal":2},"messages":[{"id":"129130","messageId":"4B17FF6D.1000908@ramsay1.demon.co.uk","threadId":"21844","inReplyTo":null,"subject":"[PATCH 1/2] Makefile: Add a target to generate C preprocessor output files","fromName":"Ramsay Jones","fromEmail":"ramsay@ramsay1.demon.co.uk","sentAt":"2009-12-03T18:11:57Z","receivedAt":"2009-12-03T18:11:57Z","isPatch":true,"sender":{"key":"ramsay@ramsayjones.plus.com","avatar":"https://avatars.githubusercontent.com/u/33702710?v=4"},"body":"\nSigned-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>\n---\n\nWhilst fixing an msvc compiler warning (see patch #2), I needed to\nlook at the output of the c-preprocessor; maybe other people will\nfind it useful.\n\nATB,\nRamsay Jones\n\n Makefile |    4 +++-\n 1 files changed, 3 insertions(+), 1 deletions(-)\n\ndiff --git a/Makefile b/Makefile\nindex 1092589..6c9e8a8 100644\n--- a/Makefile\n+++ b/Makefile\n@@ -1527,6 +1527,8 @@ git.o git.spec \\\n \t$(patsubst %.perl,%,$(SCRIPT_PERL)) \\\n \t: GIT-VERSION-FILE\n \n+%.i: %.c .ALWAYS\n+\t$(QUIET_CC)$(CC) -E $(ALL_CFLAGS) $< >$*.i\n %.o: %.c GIT-CFLAGS\n \t$(QUIET_CC)$(CC) -o $*.o -c $(ALL_CFLAGS) $<\n %.s: %.c GIT-CFLAGS\n@@ -1863,7 +1865,7 @@ endif\n .PHONY: all install clean strip\n .PHONY: shell_compatibility_test please_set_SHELL_PATH_to_a_more_modern_shell\n .PHONY: .FORCE-GIT-VERSION-FILE TAGS tags cscope .FORCE-GIT-CFLAGS\n-.PHONY: .FORCE-GIT-BUILD-OPTIONS\n+.PHONY: .FORCE-GIT-BUILD-OPTIONS .ALWAYS\n \n ### Check documentation\n #\n-- \n1.6.5\n"}]}