From f22c2d30b7c73ebf1a7815b4a3eb5df18c251ed1 Mon Sep 17 00:00:00 2001 From: "Serge A. Zaitsev" Date: Mon, 15 Nov 2010 13:11:08 +0200 Subject: Initial commit. Demo program is included in the jsmn.c code. Ugly names and no comments. Please, don't read this changeset --- Makefile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 000000000..c6816e976 --- /dev/null +++ b/Makefile @@ -0,0 +1,13 @@ +CFLAGS=-Wall -W -std=c89 + +all: jsmn_demo + +jsmn_demo: jsmn.o + gcc $(LDFLAGS) jsmn.o -o $@ + +jsmn.o: jsmn.c jsmn.h + gcc $(CFLAGS) -c jsmn.c -o $@ + +clean: + rm -f jsmn.o + rm -f jsmn_demo -- cgit v1.2.3