Browse Source

Add clean target in testers Makefile

1.0.0
Georg Hopp 10 years ago
parent
commit
88292e387b
  1. 8
      testers/Makefile

8
testers/Makefile

@ -11,11 +11,11 @@ LIBS = $(TRLIBS) \
-lrt \ -lrt \
-luuid -luuid
PROHRAMS = testserver2 \
PROGRAMS = testserver2 \
testtcp \ testtcp \
testudp testudp
all: $(PROHRAMS)
all: $(PROGRAMS)
testserver2: testserver2.o test_handler.o testserver2: testserver2.o test_handler.o
$(CC) $(LDFLAGS) -std=c99 $(LIBS) -o $@ $< test_handler.o $(CC) $(LDFLAGS) -std=c99 $(LIBS) -o $@ $< test_handler.o
@ -31,3 +31,7 @@ testudp.o: testclient.c
%.o: %.c %.o: %.c
$(CC) $(CFLAGS) -std=c99 -c -o $@ $< $(CC) $(CFLAGS) -std=c99 -c -o $@ $<
.PHONY: clean
clean:
@rm -Rf *.o $(PROGRAMS)
Loading…
Cancel
Save