aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 823e0f28e856db43facb8d96fda3cbf6bb28ae78 (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: enki/smack enki/strans
	enki/smack main.sts | enki/strans > $@
	chmod 0755 $@

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

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

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

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

clean:
	rm -f enki/smack enki/strans cryptrobber encrypt test