summaryrefslogtreecommitdiff
path: root/examples/c-json-stdout/jsmn/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'examples/c-json-stdout/jsmn/Makefile')
-rw-r--r--examples/c-json-stdout/jsmn/Makefile36
1 files changed, 0 insertions, 36 deletions
diff --git a/examples/c-json-stdout/jsmn/Makefile b/examples/c-json-stdout/jsmn/Makefile
deleted file mode 100644
index dcbdd89d7..000000000
--- a/examples/c-json-stdout/jsmn/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-# You can put your build options here
--include config.mk
-
-test: test_default test_strict test_links test_strict_links
-test_default: test/tests.c jsmn.h
- $(CC) $(CFLAGS) $(LDFLAGS) $< -o test/$@
- ./test/$@
-test_strict: test/tests.c jsmn.h
- $(CC) -DJSMN_STRICT=1 $(CFLAGS) $(LDFLAGS) $< -o test/$@
- ./test/$@
-test_links: test/tests.c jsmn.h
- $(CC) -DJSMN_PARENT_LINKS=1 $(CFLAGS) $(LDFLAGS) $< -o test/$@
- ./test/$@
-test_strict_links: test/tests.c jsmn.h
- $(CC) -DJSMN_STRICT=1 -DJSMN_PARENT_LINKS=1 $(CFLAGS) $(LDFLAGS) $< -o test/$@
- ./test/$@
-
-simple_example: example/simple.c jsmn.h
- $(CC) $(LDFLAGS) $< -o $@
-
-jsondump: example/jsondump.c jsmn.h
- $(CC) $(LDFLAGS) $< -o $@
-
-fmt:
- clang-format -i jsmn.h test/*.[ch] example/*.[ch]
-
-lint:
- clang-tidy jsmn.h --checks='*'
-
-clean:
- rm -f *.o example/*.o
- rm -f simple_example
- rm -f jsondump
-
-.PHONY: clean test
-