aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 581241b..63defae 100644
--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,14 @@
-.PHONY: cryptrobber clean
+all: cryptrobber encrypt
+.PHONY: all clean encrpyt cryptrobber
-cryptrobber:
+cryptrobber: smack strans
./smack main.sts | ./strans > $@
chmod 0755 $@
+encrypt: smack strans
+ ./smack encrypt.sts | ./strans > $@
+ chmod 0755 $@
+
smack: smack.c
gcc $< -o $@
@@ -11,4 +16,4 @@ strans: strans.c
gcc $< -o $@
clean:
- rm -f smack strans cryptrobber
+ rm -f smack strans cryptrobber encrypt