aboutsummaryrefslogblamecommitdiffstats
path: root/Makefile
blob: db83d07810ae8fa1db80bf1648e2b82c03ec5a71 (plain) (tree)
1
2
3
4
5
6
7
8
9
                





                                                                                                              
                                                      
 
C_OPTIMISE = -O6
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
	cd bin ; jar cf ArgParser.jar ArgParser*.class