Fixing makefile for ports.

This commit is contained in:
skarg
2009-07-18 11:55:46 +00:00
parent dcd6cbed52
commit 3e84cce6d1
2 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -100,7 +100,7 @@ ports: atmega168 at91sam7s bdk-atxx4-mstp
atmega168: ports/atmega168/Makefile
make -C ports/atmega168 clean all
at91sam7s: ports/at91sam7s/Makefile
at91sam7s: ports/at91sam7s/makefile
make -C ports/at91sam7s clean all
bdk-atxx4-mstp: ports/bdk-atxx4-mstp/Makefile
+4 -1
View File
@@ -126,9 +126,12 @@ $(LIBRARY): $(COREOBJ) Makefile
.s.o:
$(CC) -c $(AFLAGS) $*.s -o $@
.PHONY: clean
clean:
touch Makefile
rm $(COBJ) $(AOBJ) $(COREOBJ)
rm $(TARGET).elf $(TARGET).bin $(TARGET).dmp $(TARGET).map
rm $(LIBRARY)
rm *.lst
## Other dependencies
-include $(shell mkdir dep 2>/dev/null) $(wildcard dep/*)