From d840f6e21eae7fcf23f25fe6863c6220c629b96d Mon Sep 17 00:00:00 2001 From: josh Date: Sat, 30 Aug 2008 16:36:04 +0000 Subject: [PATCH] added clean target to Makefile git-svn-id: svn://anubis/gvsu@137 45c1a28c-8058-47b2-ae61-ca45b979098e --- cs677/hw1/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cs677/hw1/Makefile b/cs677/hw1/Makefile index 83ab464..9c5ca4d 100644 --- a/cs677/hw1/Makefile +++ b/cs677/hw1/Makefile @@ -6,6 +6,9 @@ all: $(TARGET) $(TARGET): $(TARGET).cc $(CXX) -o $@ $^ +clean: + -rm -f $(TARGET) *~ + .PHONY: test test: ./$(TARGET) test-impossible.txt