summaryrefslogtreecommitdiff
path: root/libs/anr/examples/Makefile
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrikboy@gmail.com>2025-11-01 14:09:04 +0100
committerAldrik Ramaekers <aldrikboy@gmail.com>2025-11-01 14:09:04 +0100
commita2918b9724a65ba147cfafc6bcf8d410a647330b (patch)
tree3b8ca3ee934a239f458b889f06beb673fa32ffa4 /libs/anr/examples/Makefile
parent9b8664daf17dac9efb1f4add9d00c562e4ddbf40 (diff)
export ui, localizations
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