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
+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/*)