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-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-16 19:24:24 +00:00
|
|
|
all: hwserver hwclient wuserver
|
2012-03-16 13:43:49 +00:00
|
|
|
|
|
|
|
|
|
|
|
.PHONY: all
|