rename files to match upstream's preferences
[jansson.git] / Makefile
1 JANSSON_CFLAGS := $(shell pkg-config --cflags jansson)
2 JANSSON_LIBS := $(shell pkg-config --libs jansson)
3
4 all: test
5
6 test-bin: test.cpp jansson.hpp jansson-impl.hpp Makefile
7         $(CXX) -o $@ -g -O0 -Wall $(JANSSON_CFLAGS) $< $(JANSSON_LIBS)
8
9 test: test-bin
10         ./test-bin
11
12 clean:
13         rm -f test-bin