aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
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