Too easy to miss version skew in the examples otherwise.
# Add DEBUG_ENABLE for the tracing code
CFLAGS += -DDEBUG_ENABLE -g
+all: mjson.o test_microjson example1 example2 example3
+ @test_microjson
+
mjson.o: mjson.c mjson.h
test_microjson: test_microjson.o mjson.o
check: test_microjson
test_microjson
-make testbuild: mjson.o test_microjson example1 example2 example3
-
# Worked examples. These are essentially subsets of the regresion test.
example1: example1.c mjson.c
example2: example2.c mjson.c