From fdf88f7256cb8ee0f40b737e68916ca119316b35 Mon Sep 17 00:00:00 2001 From: paul eeepc Date: Thu, 24 Nov 2016 11:39:05 -0600 Subject: [PATCH] removing shared files from source dir when making clean. --- firmware/Makefile | 2 +- host/Makefile | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/firmware/Makefile b/firmware/Makefile index aeb086c..20e7acc 100644 --- a/firmware/Makefile +++ b/firmware/Makefile @@ -35,7 +35,7 @@ program_unix: main.hex # rule for deleting dependent files (those which can be built by Make): clean: - rm -f main.hex main.lst main.obj main.cof main.list main.map main.eep.hex main.elf $(OBJECTS) main.s usbdrv/oddebug.s usbdrv/usbdrv.s + rm -f main.hex main.lst main.obj main.cof main.list main.map main.eep.hex main.elf $(OBJECTS) main.s usbdrv/oddebug.s usbdrv/usbdrv.s source/shared_* # Generic rule for compiling C files: .c.o: diff --git a/host/Makefile b/host/Makefile index dc06cc1..4d7d3cb 100644 --- a/host/Makefile +++ b/host/Makefile @@ -37,4 +37,5 @@ shared: #clean on unix and windows(.exe) clean: rm -f $(TARGET) $(TARGET).exe $(OBJECTS) + rm -f source/shared_*