X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/86d319551864035038ea0b9355b6fa1815398bfd..602ac4d7c541eff9bd228bd306886f0db93a363c:/bootrom/Makefile diff --git a/bootrom/Makefile b/bootrom/Makefile index 0f661a8f..8029b6fc 100644 --- a/bootrom/Makefile +++ b/bootrom/Makefile @@ -24,7 +24,12 @@ APP_CFLAGS = -I. # Do not move this inclusion before the definition of {THUMB,ASM,ARM}SRC include ../common/Makefile.common -all: $(OBJDIR)/bootrom.s19 +OBJS = $(OBJDIR)/bootrom.s19 + +all: $(OBJS) + +tarbin: $(OBJS) + $(TAR) $(TARFLAGS) ../proxmark3-$(platform)-bin.tar $(OBJS:%=bootrom/%) $(OBJS:%.s19=bootrom/%.elf) $(OBJDIR)/bootrom.elf: $(VERSIONOBJ) $(ASMOBJ) $(ARMOBJ) $(THUMBOBJ) $(CC) $(LDFLAGS) -Wl,-T,ldscript-flash,-Map,$(patsubst %.elf,%.map,$@) -o $@ $^ $(LIBS)