From 874021f94fc09a26264b2dc6adacf1e9036d4012 Mon Sep 17 00:00:00 2001 From: joshholtrop Date: Wed, 19 Aug 2009 17:11:06 +0000 Subject: [PATCH] added "tidy" target to clean without removing $(TARGET) git-svn-id: http://apu.dw.local/svnusers/JoshHoltrop/pppc/trunk@52 8131a0b2-b21c-1c47-bd6a-f003126495bd --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 44a2871..dd3c743 100644 --- a/Makefile +++ b/Makefile @@ -22,4 +22,8 @@ $(TARGET): $(OBJS) $(CXX) -c -o $@ $(CPPFLAGS) $(CXXFLAGS) $< clean: - -$(RM) -f *.o *~ *.exe + -$(RM) -f *.o *~ $(TARGET) + +.PHONY: tidy +tidy: + -$(RM) -f *.o *~