box-o-sand/oldstuff/zeromq/Makefile
2015-06-22 13:15:42 -05:00

19 lines
306 B
Makefile

CFLAGS += -I. -I/usr/local/include
LDFLAGS += -lstdc++ -lpthread -luuid -lrt
LIBZMQ := /usr/local/lib/libzmq.a
TARGETS := hwserver hwclient wuserver wuclient taskvent taskwork tasksink
%:%.c
$(CC) $(CFLAGS) -o $@ $^ $(LIBZMQ) $(LDFLAGS)
all: $(TARGETS)
clean:
rm -vf $(TARGETS)
.PHONY: all clean