15 lines
254 B
Makefile
15 lines
254 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
|
|
|
|
|
|
%:%.c
|
|
$(CC) $(CFLAGS) -o $@ $^ $(LIBZMQ) $(LDFLAGS)
|
|
|
|
|
|
all: $(TARGETS)
|
|
|
|
|
|
.PHONY: all
|