]> Dogcows Code - chaz/vimcoder/commitdiff
add clean target to Makefile for convenience
authorSam Lidder <sam.lidder@gmail.com>
Sat, 18 Aug 2012 21:01:33 +0000 (17:01 -0400)
committerCharles McGarvey <chazmcgarvey@brokenzipper.com>
Sun, 19 Aug 2012 01:08:23 +0000 (19:08 -0600)
- distclean removes backup source file received from TC Arena applet

src/com/dogcows/resources/C++Makefile

index e864df393c6f33d2c59390f5bf1c82c00543af5e..83798d4823e2909ce8895c0928d36109eade9e7a 100644 (file)
@@ -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
 
This page took 0.022639 seconds and 4 git commands to generate.