aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 56947b1b5944c44f86a68213cd23127a79a85282 (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