From ad8bbaa9795b494d7f7d9cb8304f0de86b8f01fe Mon Sep 17 00:00:00 2001 From: Andrew Jeffery Date: Mon, 18 Dec 2017 12:25:48 +1030 Subject: [PATCH] Makefile: Add test and example programs to clean target Signed-off-by: Andrew Jeffery --- Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Makefile b/Makefile index b6f6f2d..725d9fe 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,8 @@ CFLAGS = -Wall -Wshadow -O2 -g LDLIBS = -lm - all: test example1 example2 example3 example4 - test: test.o genann.o check: test @@ -21,5 +19,5 @@ example4: example4.o genann.o clean: $(RM) *.o - $(RM) *.exe + $(RM) test example1 example2 example3 example4 *.exe $(RM) persist.txt