Browse Source

make sure that the failure is properly propegated..

irr_shared
John-Mark Gurney 3 years ago
parent
commit
22f89f5ce6
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      Makefile

+ 3
- 3
Makefile View File

@@ -138,16 +138,16 @@ depend: $(DEPENDS)
.endfor

.arm_deps: $(SRCS)
$(ARMCC) $(ARMTARGET) $(CFLAGS) $(.ALLSRC) -MM > $@ || rm -f $@
$(ARMCC) $(ARMTARGET) $(CFLAGS) $(.ALLSRC) -MM > $@ || (rm -f $@ && false)

.test_deps: $(LIBLORA_TEST_SRCS)
$(CC) $(CFLAGS) $(.ALLSRC) -MM | sed -e 's/\.o:/\.no:/' > $@ || rm -f $@
$(CC) $(CFLAGS) $(.ALLSRC) -MM | sed -e 's/\.o:/\.no:/' > $@ || (rm -f $@ && false)

$(PROG)$(PROGEXT): $(OBJS)
$(ARMCC) $(ARMTARGET) -o $@ $(.ALLSRC) -T$(LINKER_SCRIPT) --specs=nosys.specs -Wl,--gc-sections -static --specs=nano.specs -Wl,--start-group -lc -lm -Wl,--end-group

$(PROG).list: $(PROG)$(PROGEXT)
$(ARMOBJDUMP) -h -S $(.ALLSRC) > $@ || rm -f $@
$(ARMOBJDUMP) -h -S $(.ALLSRC) > $@ || (rm -f $@ && false)

.PHONY: runbuild
runbuild: $(SRCS)


Loading…
Cancel
Save