Filling in the example C client, too

This commit is contained in:
Dan Buch
2012-03-16 09:43:49 -04:00
parent 7f8c9c9052
commit a600b87d42
3 changed files with 43 additions and 0 deletions

View File

@@ -2,5 +2,15 @@ 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