From 88292e387b1d10c69e9fe76a19e36fb6786c56e6 Mon Sep 17 00:00:00 2001 From: Georg Hopp Date: Wed, 21 Oct 2015 21:32:52 +0200 Subject: [PATCH] Add clean target in testers Makefile --- testers/Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/testers/Makefile b/testers/Makefile index a0975ca..e8cf780 100755 --- a/testers/Makefile +++ b/testers/Makefile @@ -11,11 +11,11 @@ LIBS = $(TRLIBS) \ -lrt \ -luuid -PROHRAMS = testserver2 \ +PROGRAMS = testserver2 \ testtcp \ testudp -all: $(PROHRAMS) +all: $(PROGRAMS) testserver2: testserver2.o test_handler.o $(CC) $(LDFLAGS) -std=c99 $(LIBS) -o $@ $< test_handler.o @@ -31,3 +31,7 @@ testudp.o: testclient.c %.o: %.c $(CC) $(CFLAGS) -std=c99 -c -o $@ $< + +.PHONY: clean +clean: + @rm -Rf *.o $(PROGRAMS)