aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-03-28 22:09:28 +0100
committerMattias Andrée <maandree@operamail.com>2015-03-28 22:09:28 +0100
commit160101a2774bc1514a4cbd3399d9fe6bb801e979 (patch)
treee12dfed12f45c28f35ce66e160fb2c225082e8b9
parentdoc typo (diff)
downloadlibkeccak-160101a2774bc1514a4cbd3399d9fe6bb801e979.tar.gz
libkeccak-160101a2774bc1514a4cbd3399d9fe6bb801e979.tar.bz2
libkeccak-160101a2774bc1514a4cbd3399d9fe6bb801e979.tar.xz
See issue #1
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index fce64ae..f502864 100644
--- a/Makefile
+++ b/Makefile
@@ -103,7 +103,7 @@ bin/libkeccak.a: $(foreach O,$(LIB_OBJ),obj/libkeccak/$(O).o)
test: bin/test
bin/test: obj/test.o bin/libkeccak.so bin/libkeccak.so.$(LIB_MAJOR) bin/libkeccak.so.$(LIB_VERSION)
- $(CC) $(FLAGS) -Lbin -lkeccak -o $@ $< $(LDFLAGS)
+ $(CC) $(FLAGS) -o $@ $< -Lbin -lkeccak $(LDFLAGS)
obj/test.o: src/test.c src/libkeccak/*.h src/libkeccak.h
@mkdir -p obj
@@ -114,7 +114,7 @@ obj/test.o: src/test.c src/libkeccak/*.h src/libkeccak.h
benchmark: bin/benchmark
bin/benchmark: obj/benchmark.o bin/libkeccak.so bin/libkeccak.so.$(LIB_MAJOR) bin/libkeccak.so.$(LIB_VERSION)
- $(CC) $(FLAGS) -Lbin -lkeccak -o $@ $< $(LDFLAGS)
+ $(CC) $(FLAGS) -o $@ $< -Lbin -lkeccak $(LDFLAGS)
obj/benchmark.o: src/benchmark.c src/libkeccak/*.h src/libkeccak.h
@mkdir -p obj