]> git.scottworley.com Git - slidingtile/commitdiff
Clean Makefile.bak too
authorScott Worley <scottworley@scottworley.com>
Tue, 29 Dec 2015 10:08:08 +0000 (02:08 -0800)
committerScott Worley <scottworley@scottworley.com>
Tue, 29 Dec 2015 10:08:08 +0000 (02:08 -0800)
Makefile

index 333a6416e79d6a20cc2008439b5744db752c9eb7..a8608d05b3934b9ba425e3b4c97768813eeeffe1 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -20,7 +20,7 @@ test:   $(TESTS)
        for t in ./*_test; do if ! $$t; then exit 1; fi ;done
 
 clean:
        for t in ./*_test; do if ! $$t; then exit 1; fi ;done
 
 clean:
-       rm -f *.o $(MAIN) $(TESTS)
+       rm -f *.o $(MAIN) $(TESTS) Makefile.bak
 
 $(MAIN): $(OBJS)
        $(CXX) $(CXXFLAGS) -o $@ $^ $(LFLAGS) $(LIBS)
 
 $(MAIN): $(OBJS)
        $(CXX) $(CXXFLAGS) -o $@ $^ $(LFLAGS) $(LIBS)