X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/8652988d62b19631e498b62a3800f0decb5e743a..a5b1ba202384e19b4191c04a45a6992bdaf97cb8:/bootrom/Makefile?ds=sidebyside diff --git a/bootrom/Makefile b/bootrom/Makefile index 43e2533f..c80b650c 100644 --- a/bootrom/Makefile +++ b/bootrom/Makefile @@ -5,12 +5,12 @@ ARMSRC = fromflash.c THUMBSRC = usb.c bootrom.c ASMSRC = ram-reset.s flash-reset.s -# Do not move this inclusion before the definition of {THUMB,ASM,ARM}{OBJ,SRC} +# Do not move this inclusion before the definition of {THUMB,ASM,ARM}SRC include ../common/Makefile.common all: $(OBJDIR)/bootrom.s19 -$(OBJDIR)/bootrom.elf: $(ASMOBJ) $(ARMOBJ) $(THUMBOBJ) +$(OBJDIR)/bootrom.elf: $(VERSIONOBJ) $(ASMOBJ) $(ARMOBJ) $(THUMBOBJ) $(LD) -g -Tldscript-flash --oformat elf32-littlearm -Map=$(patsubst %.elf,%.map,$@) -o $@ $^ clean: @@ -19,8 +19,9 @@ clean: $(DELETE) $(OBJDIR)$(PATHSEP)*.s19 $(DELETE) $(OBJDIR)$(PATHSEP)*.map $(DELETE) $(OBJDIR)$(PATHSEP)*.d + $(DELETE) version.c -.PHONY: all clean help +.PHONY: all clean help help: @echo Multi-OS Makefile, you are running on $(DETECTED_OS) @echo Possible targets: