diff options
author | Mans Rullgard | 2012-10-03 13:48:27 +0100 |
---|---|---|
committer | Mans Rullgard | 2012-11-23 12:03:32 +0000 |
commit | c262649291e711c084c5d8fc3fd0eee175f155ff (patch) | |
tree | 2fa9f2742e010483bc3283690012d3be6e66e36e /Makefile | |
parent | 9ae80e6a9cefcab61e867256ba19ef78a4bfe0cb (diff) |
build: add rules to generate preprocessed source files
This is useful for debugging. Dependencies for these files are not
generated due to limitations in many compilers.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -45,6 +45,9 @@ COMPILE_S = $(call COMPILE,AS) %.o: %.S $(COMPILE_S) +%.i: %.c + $(CC) $(CCFLAGS) $(CC_E) $< + %.h.c: $(Q)echo '#include "$*.h"' >$@ |