From 19c405ff959684e6962a63e8899e52302defa3f4 Mon Sep 17 00:00:00 2001 From: Stephen Hawley Date: Fri, 12 Apr 2013 15:01:13 -0500 Subject: [PATCH] One more edit to build under cygwin --- examples/makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/makefile b/examples/makefile index 98258e4..11d754d 100644 --- a/examples/makefile +++ b/examples/makefile @@ -19,7 +19,9 @@ SRC_FILES2=../src/unity.c src/ProductionCode2.c test/TestProductionCode2.c test/ INC_DIRS=-Isrc -I../src SYMBOLS=-DTEST -ifeq ($(OS),Windows_NT) +ifeq ($(OSTYPE),cygwin) + CLEANUP = rm -f build/*.o ; rm -f $(TARGET) ; mkdir -p build +else ifeq ($(OS),Windows_NT) CLEANUP = del /F /Q build\* && del /F /Q $(TARGET1) && del /F /Q $(TARGET2) else CLEANUP = rm -f build/*.o ; rm -f $(TARGET1) ; rm -f $(TARGET2)