blob: 4ea41d67c7412763a24b3a46ee5bf0dd8cf2093f (
plain) (
tree)
|
|
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
cd bin ; jar cf ArgParser.jar ArgParser*.class
|