You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
306 B
19 lines
306 B
13 years ago
|
CFLAGS += -I. -I/usr/local/include
|
||
|
LDFLAGS += -lstdc++ -lpthread -luuid -lrt
|
||
13 years ago
|
LIBZMQ := /usr/local/lib/libzmq.a
|
||
13 years ago
|
TARGETS := hwserver hwclient wuserver wuclient taskvent taskwork tasksink
|
||
13 years ago
|
|
||
|
|
||
13 years ago
|
%:%.c
|
||
|
$(CC) $(CFLAGS) -o $@ $^ $(LIBZMQ) $(LDFLAGS)
|
||
13 years ago
|
|
||
|
|
||
13 years ago
|
all: $(TARGETS)
|
||
13 years ago
|
|
||
|
|
||
13 years ago
|
clean:
|
||
|
rm -vf $(TARGETS)
|
||
|
|
||
|
|
||
|
.PHONY: all clean
|