aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2013-02-17 21:15:37 +0100
committerMattias Andrée <maandree@operamail.com>2013-02-17 21:15:37 +0100
commit819760193644a3543d63c3530f18552def3494cf (patch)
tree28d3323bf01b2626b49281e4802f8158ba1f820f /Makefile
parentadd jni .so to makefile (diff)
downloadsha3sum-819760193644a3543d63c3530f18552def3494cf.tar.gz
sha3sum-819760193644a3543d63c3530f18552def3494cf.tar.bz2
sha3sum-819760193644a3543d63c3530f18552def3494cf.tar.xz
fix jni warnings
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 9f69c97..b20e12f 100644
--- a/Makefile
+++ b/Makefile
@@ -38,10 +38,9 @@ c: $(C_OBJS) $(C_BINS)
bin/c/%.o: c/%.h c/%.c
mkdir -p "bin/c"
$(CC) $(C_FLAGS) -c "c/$*".{c,h}
- mv "$*.o" "c/$*.o"
+ mv "$*.o" "bin/c/$*.o"
bin/c/%: c/%.c
- mkdir -p "bin/c"
- $(CC) $(C_FLAGS) -o "$@" "c/$*".c "c/"*.o
+ $(CC) $(C_FLAGS) -o "$@" "c/$*".c "bin/c/"*.o
java-c-jni: bin/java-c-jni/SHA3.so
bin/java-c-jni/%.so: java-c-jni/%.c