blob: 2138c1fdddbf45e202b5d061824283c4e9512acb (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
C_OPTIMISE = -O6
JAVA_OPTIMISE = -O
all:
@mkdir -p bin
$(CC) $(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
javac $(JAVA_OPTIMISE) -cp src -s src -d bin src/Test.java
cd bin ; jar cf ArgParser.jar ArgParser*.class
clean:
-rm -r -- bin
|