From 6a2d1c057a6947bacabc8a4015df81d3e1ec0103 Mon Sep 17 00:00:00 2001 From: dak664 Date: Thu, 11 Feb 2010 18:34:39 +0000 Subject: [PATCH] Allow cygwin remakes and cleans --- platform/avr-ravenlcd/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/platform/avr-ravenlcd/Makefile b/platform/avr-ravenlcd/Makefile index ec08f484d..e16132765 100644 --- a/platform/avr-ravenlcd/Makefile +++ b/platform/avr-ravenlcd/Makefile @@ -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