Allow cygwin remakes and cleans
This commit is contained in:
parent
c321531021
commit
6a2d1c057a
1 changed files with 4 additions and 0 deletions
|
@ -75,5 +75,9 @@ clean:
|
||||||
-rm -rf $(OBJECTS) $(PROJECT).elf dep/* $(PROJECT).hex $(PROJECT).eep $(PROJECT).map $(PROJECT).lss
|
-rm -rf $(OBJECTS) $(PROJECT).elf dep/* $(PROJECT).hex $(PROJECT).eep $(PROJECT).map $(PROJECT).lss
|
||||||
|
|
||||||
## Other dependencies
|
## 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/*)
|
-include $(shell mkdir dep 2>/dev/null) $(wildcard dep/*)
|
||||||
|
endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue