summaryrefslogtreecommitdiff
path: root/libs/anr/examples/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libs/anr/examples/Makefile')
-rw-r--r--libs/anr/examples/Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/libs/anr/examples/Makefile b/libs/anr/examples/Makefile
new file mode 100644
index 0000000..e7dcf86
--- /dev/null
+++ b/libs/anr/examples/Makefile
@@ -0,0 +1,19 @@
+ifeq ($(OS),Windows_NT)
+ EXTENSION := .exe
+else
+ EXTENSION :=
+endif
+
+
+data:
+ gcc -g -Wall test_data.c -o bin/test_data$(EXTENSION)
+ ./bin/test_data$(EXTENSION)
+
+pdf:
+ rm bin/test_pdf.pdf || true
+ gcc -g -Wall test_pdf.c -o bin/test_pdf$(EXTENSION)
+ ./bin/test_pdf$(EXTENSION)
+ qpdf$(EXTENSION) --check bin/test_pdf.pdf
+sc:
+ gcc -g -Wall test_sc.c -o bin/test_sc$(EXTENSION)
+ ./bin/test_sc$(EXTENSION) \ No newline at end of file