From 66e4e19f6a83dd6d3edcde68bd56d0c7ee25ed43 Mon Sep 17 00:00:00 2001 From: Nicolas Favre-Felix Date: Sat, 23 Jun 2012 17:18:55 +0100 Subject: [PATCH] Fix tests Makefile --- tests/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tests/Makefile b/tests/Makefile index c22e7ce..a0b8a11 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -4,8 +4,11 @@ LDFLAGS=-levent -lpthread -lrt all: $(OUT) Makefile -%: %.o Makefile - $(CC) $(LDFLAGS) -o $@ $< +websocket: websocket.o + $(CC) -o $@ $< $(LDFLAGS) + +pubsub: pubsub.o + $(CC) -o $@ $< $(LDFLAGS) %.o: %.c Makefile $(CC) -c $(CFLAGS) -o $@ $<