From b2b3859e6265f3841d0205ad64a4d5b654f98959 Mon Sep 17 00:00:00 2001 From: inmarket Date: Fri, 26 Sep 2014 18:08:49 +1000 Subject: More makefile updates --- boards/base/Win32/example/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'boards/base/Win32/example') diff --git a/boards/base/Win32/example/Makefile b/boards/base/Win32/example/Makefile index 030cfc20..7d54ac02 100644 --- a/boards/base/Win32/example/Makefile +++ b/boards/base/Win32/example/Makefile @@ -132,6 +132,10 @@ ifeq ($(MAKECMDGOALS),Debug) BUILDDIR = bin/Debug else ifeq ($(MAKECMDGOALS),Release) BUILDDIR = bin/Release +else ifeq ($(MAKECMDGOALS),cleanDebug) + BUILDDIR = bin/Debug +else ifeq ($(MAKECMDGOALS),cleanRelease) + BUILDDIR = bin/Release else ifeq ($(BUILDDIR),) BUILDDIR = .build else ifeq ($(BUILDDIR),.) @@ -168,7 +172,6 @@ CPFLAGS += -MD -MP -MF $(DEPDIR)/$(@F).d Debug Release: all cleanDebug cleanRelease: clean - -rm -fR bin all: $(BUILDDIR) $(OBJS) $(BUILDDIR)/$(PROJECT).exe MAKE_ALL_RULE_HOOK #all: main.cp -- cgit v1.2.3