2012-03-16 01:43:01 +00:00
|
|
|
CFLAGS += -I. -I/usr/local/include
|
|
|
|
LDFLAGS += -lstdc++ -lpthread -luuid -lrt
|
2012-03-16 19:24:24 +00:00
|
|
|
LIBZMQ := /usr/local/lib/libzmq.a
|
2012-03-18 21:13:17 +00:00
|
|
|
TARGETS := hwserver hwclient wuserver wuclient taskvent taskwork tasksink
|
2012-03-16 01:43:01 +00:00
|
|
|
|
|
|
|
|
2012-03-16 19:24:24 +00:00
|
|
|
%:%.c
|
|
|
|
$(CC) $(CFLAGS) -o $@ $^ $(LIBZMQ) $(LDFLAGS)
|
2012-03-16 13:43:49 +00:00
|
|
|
|
|
|
|
|
2012-03-18 17:49:50 +00:00
|
|
|
all: $(TARGETS)
|
2012-03-16 13:43:49 +00:00
|
|
|
|
|
|
|
|
2012-03-18 21:18:20 +00:00
|
|
|
clean:
|
|
|
|
rm -vf $(TARGETS)
|
|
|
|
|
|
|
|
|
|
|
|
.PHONY: all clean
|