From 9ec4904ad421b7aa69a0c149b81b32ad2c6715d8 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 15 Nov 2014 20:27:43 +0100 Subject: rewrite to use libkeccak MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 14d5819..e860609 100644 --- a/Makefile +++ b/Makefile @@ -53,13 +53,13 @@ FLAGS = $(OPTIMISE) $(WARN) -std=$(STD) \ .PHONY: all all: bin/file2key -bin/file2key: obj/file2key.o obj/keccak.o +bin/file2key: obj/file2key.o @mkdir -p bin - $(CC) $(FLAGS) $(LDFLAGS) -lpassphrase -o $@ $^ + $(CC) $(FLAGS) -lpassphrase -lkeccak -o $@ $^ $(LDFLAGS) -obj/%.o: src/%.c src/*.h +obj/%.o: src/%.c @mkdir -p obj - $(CC) $(FLAGS) $(CFLAGS) $(CPPFLAGS) -c -o $@ $< + $(CC) $(FLAGS) -c -o $@ $< $(CFLAGS) $(CPPFLAGS) .PHONY: install -- cgit v1.2.3-70-g09d2