Allow cygwin remakes and cleans

This commit is contained in:
dak664 2010-02-11 18:34:39 +00:00
parent c321531021
commit 6a2d1c057a

View file

@ -75,5 +75,9 @@ clean:
-rm -rf $(OBJECTS) $(PROJECT).elf dep/* $(PROJECT).hex $(PROJECT).eep $(PROJECT).map $(PROJECT).lss
## Other dependencies
## In cygwin the /dep folder causes make to fail after the initial make.
## $make CYG=1 allows cleans and makes based on .c dependencies (but not .h)
ifndef CYG
-include $(shell mkdir dep 2>/dev/null) $(wildcard dep/*)
endif