]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - bootrom/Makefile
Only re-compile version.c as often as necessary
[proxmark3-svn] / bootrom / Makefile
index 2b7671c7fc12762a8dd17c6e58c08a54e50f960b..c80b650c670385a291e680226a5d664671a426e7 100644 (file)
@@ -10,7 +10,7 @@ include ../common/Makefile.common
 \r
 all: $(OBJDIR)/bootrom.s19\r
 \r
-$(OBJDIR)/bootrom.elf: $(ASMOBJ) $(ARMOBJ) $(THUMBOBJ)\r
+$(OBJDIR)/bootrom.elf: $(VERSIONOBJ) $(ASMOBJ) $(ARMOBJ) $(THUMBOBJ)\r
        $(LD) -g -Tldscript-flash --oformat elf32-littlearm -Map=$(patsubst %.elf,%.map,$@) -o $@ $^\r
 \r
 clean:\r
@@ -19,8 +19,9 @@ clean:
        $(DELETE) $(OBJDIR)$(PATHSEP)*.s19\r
        $(DELETE) $(OBJDIR)$(PATHSEP)*.map\r
        $(DELETE) $(OBJDIR)$(PATHSEP)*.d\r
+       $(DELETE) version.c\r
 \r
-.PHONY: all clean help\r
+.PHONY: all clean help \r
 help:\r
        @echo Multi-OS Makefile, you are running on $(DETECTED_OS)\r
        @echo Possible targets:\r
Impressum, Datenschutz