aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2013-06-26 03:54:49 +0200
committerMattias Andrée <maandree@operamail.com>2013-06-26 03:54:49 +0200
commit3dad7195730a73fd3f6847e483dccf9b3a21a35f (patch)
treef3c7f8d6da037b34ed2d5b4ec071581133878495
parentcreate jarfile (diff)
downloadargparser-3dad7195730a73fd3f6847e483dccf9b3a21a35f.tar.gz
argparser-3dad7195730a73fd3f6847e483dccf9b3a21a35f.tar.bz2
argparser-3dad7195730a73fd3f6847e483dccf9b3a21a35f.tar.xz
use $(CC) rather than gcc
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index db83d07..4ea41d6 100644
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,7 @@ JAVA_OPTIMISE = -O
all:
@mkdir -p bin
- gcc $(C_OPTIMISE) -std=gnu99 -Wall -Wextra -pedantic -fPIC -shared src/argparser.c -o bin/argparser.so
+ $(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