CFLAGS += -I. -I/usr/local/include LDFLAGS += -lstdc++ -lpthread -luuid -lrt LIBZMQ := /usr/local/lib/libzmq.a %:%.c $(CC) $(CFLAGS) -o $@ $^ $(LIBZMQ) $(LDFLAGS) all: hwserver hwclient wuserver .PHONY: all