jansson/Makefile

14 lines
287 B
Makefile
Raw Normal View History

2010-01-12 17:10:20 +08:00
JANSSON_CFLAGS := $(shell pkg-config --cflags jansson)
JANSSON_LIBS := $(shell pkg-config --libs jansson)
all: test
2010-01-17 12:15:33 +08:00
test-bin: test.cc janssonxx.h janssonxx.tcc Makefile
2010-01-12 17:10:20 +08:00
$(CXX) -o $@ -g -O0 -Wall $(JANSSON_CFLAGS) $< $(JANSSON_LIBS)
test: test-bin
./test-bin
clean:
rm -f test-bin