17 lines
284 B
Makefile
17 lines
284 B
Makefile
CFLAGS += -I. -I/usr/local/include
|
|
LDFLAGS += -lstdc++ -lpthread -luuid -lrt
|
|
|
|
|
|
all: hwserver hwclient
|
|
|
|
|
|
hwserver: hwserver.c /usr/local/lib/libzmq.a
|
|
$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
|
|
|
|
|
|
hwclient: hwclient.c /usr/local/lib/libzmq.a
|
|
$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
|
|
|
|
|
|
.PHONY: all
|