From: Sam Lidder Date: Sat, 18 Aug 2012 21:01:33 +0000 (-0400) Subject: add clean target to Makefile for convenience X-Git-Tag: v0.3.3~6 X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=3657db0222bd9bca8691c05d3308387d2da65b66;p=chaz%2Fvimcoder add clean target to Makefile for convenience - distclean removes backup source file received from TC Arena applet --- diff --git a/src/com/dogcows/resources/C++Makefile b/src/com/dogcows/resources/C++Makefile index e864df3..83798d4 100644 --- a/src/com/dogcows/resources/C++Makefile +++ b/src/com/dogcows/resources/C++Makefile @@ -15,5 +15,11 @@ driver.o: $CLASSNAME$.o driver: driver.o $(CXX) $(CXXFLAGS) $< -o $@ $(LDFLAGS) $(LDLIBS) -.PHONY: all run test +clean: + rm -f $CLASSNAME$.o driver.o driver + +distclean: clean + rm -f $CLASSNAME$ + +.PHONY: all run test clean distclean