aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..5be5d95
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,8 @@
+C_OPTIMISE = -O0
+JAVA_OPTIMISE = -O
+
+all:
+ @mkdir -p bin
+ gcc $(C_OPTIMISE) -std=gnu99 -Wall -Wextra -pedantic -fPIC -shared src/argparser.c -o bin/argparser.so
+ javac $(JAVA_OPTIMISE) -cp src -s src -d bin src/ArgParser.java
+