From 9fa521b60ca0bbd78f5121bcd9a8f740c72064ff Mon Sep 17 00:00:00 2001 From: hjp Date: Tue, 5 Jul 2016 19:42:18 +0000 Subject: [PATCH] Add target clean --- collatz/GNUmakefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/collatz/GNUmakefile b/collatz/GNUmakefile index 8eb0511..a4c30a5 100644 --- a/collatz/GNUmakefile +++ b/collatz/GNUmakefile @@ -5,3 +5,6 @@ collatz: collatz2: collatz2.o $(CC) -o $@ $^ -lm + +clean: + rm -f collatz collatz2 collatz3 modf *.o core