aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-11-15 20:27:43 +0100
committerMattias Andrée <maandree@operamail.com>2014-11-15 20:27:59 +0100
commit9ec4904ad421b7aa69a0c149b81b32ad2c6715d8 (patch)
treeef84b93fa755f0628f182dd8e09b3e9e08f46d27 /Makefile
parentm (diff)
downloadfile2key-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--Makefile8
1 files changed, 4 insertions, 4 deletions
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