From b5ece1ecdae88644b76333037ba36db3a3a9ce2e Mon Sep 17 00:00:00 2001 From: Jakub Hlusička Date: Wed, 31 May 2017 20:20:34 +0200 Subject: move `-lkeccak -largparse` to the end of the linking instruction --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index b92869e..4937fc3 100644 --- a/Makefile +++ b/Makefile @@ -81,7 +81,7 @@ command: $(foreach C,$(CMDS),bin/$(C)) bin/%: obj/%.o obj/common.o @mkdir -p bin - $(CC) $(FLAGS) $(LDOPTIMISE) -lkeccak -largparser -o $@ $^ $(LDFLAGS) + $(CC) $(FLAGS) $(LDOPTIMISE) -o $@ $^ $(LDFLAGS) -lkeccak -largparser obj/%.o: src/%.c src/*.h @mkdir -p obj -- cgit v1.2.3-70-g09d2