diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-11-15 20:27:43 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-11-15 20:27:59 +0100 |
commit | 9ec4904ad421b7aa69a0c149b81b32ad2c6715d8 (patch) | |
tree | ef84b93fa755f0628f182dd8e09b3e9e08f46d27 /Makefile | |
parent | m (diff) | |
download | file2key-9ec4904ad421b7aa69a0c149b81b32ad2c6715d8.tar.gz file2key-9ec4904ad421b7aa69a0c149b81b32ad2c6715d8.tar.bz2 file2key-9ec4904ad421b7aa69a0c149b81b32ad2c6715d8.tar.xz |
rewrite to use libkeccak2
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 |