summaryrefslogtreecommitdiff
path: root/openpicc/Makefile
diff options
context:
space:
mode:
authorhenryk <henryk@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2007-11-19 01:59:29 +0000
committerhenryk <henryk@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2007-11-19 01:59:29 +0000
commit18cd5f225b6eb3d4c4a28e39ff20038a63355c84 (patch)
tree5ff833cba304021e29984ea94df35d93b5c726e4 /openpicc/Makefile
parentc63871ac816955469c7178eed3467de52d4c05e7 (diff)
Add script to generate compile.h
git-svn-id: https://svn.openpcd.org:2342/trunk@331 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
Diffstat (limited to 'openpicc/Makefile')
-rw-r--r--openpicc/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/openpicc/Makefile b/openpicc/Makefile
index d3faac0..9070422 100644
--- a/openpicc/Makefile
+++ b/openpicc/Makefile
@@ -118,11 +118,14 @@ $(DEMO_APP_THMUB_OBJ) : %.o : %.c $(LDSCRIPT) Makefile config/FreeRTOSConfig.h
$(FREERTOS_THUMB_OBJ) : %.o : %.c $(LDSCRIPT) Makefile config/FreeRTOSConfig.h
$(CC) -c $(THUMB_FLAGS) $(CFLAGS) $< -o $@
-$(ARM_OBJ) : %.o : %.c $(LDSCRIPT) Makefile config/FreeRTOSConfig.h
+$(ARM_OBJ) : %.o : %.c $(LDSCRIPT) Makefile config/FreeRTOSConfig.h config/board.h config/compile.h
$(CC) -c $(CFLAGS) $< -o $@
clean :
touch Makefile
find -name '*.o' -exec rm \{\} \;
- rm -f openpicc.bin openpicc.elf openpicc.map openpicc.asm
+ rm -f openpicc.bin openpicc.elf openpicc.map openpicc.asm config/compile.h
+.PHONY: config/compile.h
+config/compile.h:
+ scripts/mkcompile_h > config/compile.h
personal git repositories of Harald Welte. Your mileage may vary