fix multiple rules for same target
This commit is contained in:
parent
6954ceea8e
commit
3cb09b472c
7
Makefile
7
Makefile
|
@ -141,13 +141,10 @@ hex: $(BINARY).hex
|
|||
srec: $(BINARY).srec
|
||||
list: $(BINARY).list
|
||||
|
||||
%.bin: %.elf
|
||||
%.hex: %.elf
|
||||
%.srec: %.elf
|
||||
%.bin %.hex %.srec: %.elf
|
||||
$(Q)$(OBJCOPY) -Osrec $(<) $(@)
|
||||
|
||||
%.map: %.elf
|
||||
%.list: %.elf
|
||||
%.map %.list: %.elf
|
||||
$(Q)$(OBJDUMP) -S $(<) > $(@)
|
||||
|
||||
%.elf: $(LDSCRIPT) $(LIB_DIR)/lib$(LIBNAME).a $(OBJ) $(LIB_OBJ)
|
||||
|
|
Loading…
Reference in New Issue