summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorNathan Lasseter <nathan.je.lasseter@googlemail.com>2013-04-28 12:40:39 +0100
committerNathan Lasseter <nathan.je.lasseter@googlemail.com>2013-04-28 12:40:39 +0100
commitce19147e916925945d65823543997d397af40dcb (patch)
tree2d0b6055ce6a443d58256147236b18a4b762d721 /Makefile
parentae2890afb2bc80b986ccf4798490cd4b1208ccff (diff)
Everchanging passphrase to avoid ECB attacksnonecb
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 9 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index dfb3231..a7ff461 100644
--- a/Makefile
+++ b/Makefile
@@ -1,13 +1,18 @@
CFLAGS=-Wall -Wextra
-encrypt: encrypt.c
+all: encrypt decrypt
+
+%: %.c
gcc ${CFLAGS} -o $@ $^
-install:
+install: encrypt decrypt
cp encrypt /usr/local/bin/encrypt
+ cp decrypt /usr/local/bin/decrypt
-uninstall:
+uninstall: /usr/local/bin/encrypt /usr/local/bin/decrypt
rm /usr/local/bin/encrypt
+ rm /usr/local/bin/decrypt
-clean:
+clean: encrypt decrypt
rm encrypt
+ rm decrypt