From 22f89f5ce6a581f5e6eafe85197cd58553e3dc03 Mon Sep 17 00:00:00 2001 From: John-Mark Gurney Date: Fri, 30 Apr 2021 18:18:33 -0700 Subject: [PATCH] make sure that the failure is properly propegated.. --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 593b5be..7d80630 100644 --- a/Makefile +++ b/Makefile @@ -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)