aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2013-06-30 11:53:37 +0200
committerMattias Andrée <maandree@operamail.com>2013-06-30 11:53:37 +0200
commite8ea49cae5e294f70a0db72054f46e718cd75789 (patch)
tree06071fc802751d8f9fea1c49fc3a966eb653f886 /Makefile
parentupdate makefile (diff)
downloadargparser-e8ea49cae5e294f70a0db72054f46e718cd75789.tar.gz
argparser-e8ea49cae5e294f70a0db72054f46e718cd75789.tar.bz2
argparser-e8ea49cae5e294f70a0db72054f46e718cd75789.tar.xz
add c test
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 54584d0..ebba7b7 100644
--- a/Makefile
+++ b/Makefile
@@ -4,6 +4,7 @@ JAVA_OPTIMISE = -O
all:
@mkdir -p bin
$(CC) $(C_OPTIMISE) -std=gnu99 -Wall -Wextra -pedantic -fPIC -shared src/argparser.c -o bin/argparser.so
+ $(CC) $(C_OPTIMISE) -std=gnu99 -Wall -Wextra -pedantic src/test.c -o bin/test
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