jansson/Makefile
Sean Middleditch cc06bc334a cleanup code
2010-01-16 20:15:33 -08:00

14 lines
287 B
Makefile

JANSSON_CFLAGS := $(shell pkg-config --cflags jansson)
JANSSON_LIBS := $(shell pkg-config --libs jansson)
all: test
test-bin: test.cc janssonxx.h janssonxx.tcc Makefile
$(CXX) -o $@ -g -O0 -Wall $(JANSSON_CFLAGS) $< $(JANSSON_LIBS)
test: test-bin
./test-bin
clean:
rm -f test-bin