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