1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
DEBUG = 0 CC := gcc CFLAGS := -I./mkjson -L./mkjson/lib -DDEBUG=${DEBUG} LIBS := -lmkjson -lzmq .PHONY: vyshim vyshim: vyshim.c libmkjson $(CC) $(CFLAGS) -o $@ $< $(LIBS) .PHONY: libmkjson libmkjson: $(MAKE) -C mkjson all: vyshim .PHONY: clean clean: $(MAKE) -C mkjson clean rm -f vyshim