aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2013-07-02 14:36:37 +0200
committerMattias Andrée <maandree@operamail.com>2013-07-02 14:36:37 +0200
commit0eeeb016b7c059eb1d77b015b7486a96b544df9f (patch)
treeef1ce16afd01b6d8b6f3dc27821fbf3bbc672415 /Makefile
parentfix make (diff)
downloadargparser-0eeeb016b7c059eb1d77b015b7486a96b544df9f.tar.gz
argparser-0eeeb016b7c059eb1d77b015b7486a96b544df9f.tar.bz2
argparser-0eeeb016b7c059eb1d77b015b7486a96b544df9f.tar.xz
misc fix
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index a34111e..5193ce1 100644
--- a/Makefile
+++ b/Makefile
@@ -3,8 +3,8 @@ 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 -c src/argparser.c -o bin/argparser.o
+ $(CC) $(C_OPTIMISE) -std=gnu99 -Wall -Wextra -pedantic -fPIC -c src/argparser.c -o bin/argparser.o
+ $(CC) $(C_OPTIMISE) -std=gnu99 -Wall -Wextra -pedantic -shared bin/argparser.o -o bin/argparser.so
$(CC) $(C_OPTIMISE) -std=gnu99 -Wall -Wextra -pedantic src/test.c bin/argparser.o -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