From: Stephan Baerwolf Date: Mon, 17 Sep 2012 17:18:53 +0000 (+0000) Subject: fix dynamic "$(RM)" use instead of direct "rm -f" command X-Git-Tag: v0.7~6 X-Git-Url: http://git.linex4red.de/pub/USBaspLoader.git/commitdiff_plain/350a14618b05016d275003930ee3b79cecd2d58b fix dynamic "$(RM)" use instead of direct "rm -f" command Signed-off-by: Stephan Baerwolf --- diff --git a/firmware/Makefile b/firmware/Makefile index a9a1c40..9afd680 100644 --- a/firmware/Makefile +++ b/firmware/Makefile @@ -60,17 +60,17 @@ read_fuses: $(UISP) --rd_fuses deepclean: clean - rm -f *~ + $(RM) *~ clean: - rm -f main.hex main.bin *.o usbdrv/*.o main.s usbdrv/oddebug.s usbdrv/usbdrv.s + $(RM) main.hex main.bin *.o usbdrv/*.o main.s usbdrv/oddebug.s usbdrv/usbdrv.s # file targets: main.bin: $(OBJECTS) $(CC) $(CFLAGS) -o main.bin $(OBJECTS) $(LDFLAGS) main.hex: main.bin - rm -f main.hex main.eep.hex + $(RM) main.hex main.eep.hex $(OBC) -j .text -j .data -O ihex main.bin main.hex $(SIZ) main.bin