removing shared files from source dir when making clean.

This commit is contained in:
paul eeepc 2016-11-24 11:39:05 -06:00
parent 47545169ee
commit fdf88f7256
2 changed files with 2 additions and 1 deletions

View File

@ -35,7 +35,7 @@ program_unix: main.hex
# rule for deleting dependent files (those which can be built by Make): # rule for deleting dependent files (those which can be built by Make):
clean: 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: # Generic rule for compiling C files:
.c.o: .c.o:

View File

@ -37,4 +37,5 @@ shared:
#clean on unix and windows(.exe) #clean on unix and windows(.exe)
clean: clean:
rm -f $(TARGET) $(TARGET).exe $(OBJECTS) rm -f $(TARGET) $(TARGET).exe $(OBJECTS)
rm -f source/shared_*