blob: 54584d0c9b2c47ac8de28868191fa77e9d7a2131 (
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/ArgParser.java
javac $(JAVA_OPTIMISE) -cp src -s src -d bin src/Test.java
cd bin ; jar cf ArgParser.jar argparser/ArgParser*.class
clean:
-rm -r -- bin
|