aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: a242d8946e92be14ee608ce71f01430d1e9272ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
all: cryptrobber encrypt test
.PHONY: all clean cryptrobber encrypt test

cryptrobber: smack strans
	./smack main.sts | ./strans > $@
	chmod 0755 $@

encrypt: smack strans
	./smack encrypt.sts | ./strans > $@
	chmod 0755 $@

test: smack strans
	./smack test.sts | ./strans > $@
	chmod 0755 $@

smack: smack.c
	gcc $< -o $@

strans: strans.c
	gcc $< -o $@

clean:
	rm -f smack strans cryptrobber encrypt test