-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
122 lines (96 loc) · 4.53 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
all: \
printSecret-1a.eventlog.html \
printSecret-1b.eventlog.html \
printSecret-1c.eventlog.html \
printSecret-2.eventlog.html \
printSecret-2.eventlog.html \
numberLines-0.eventlog.html \
numberLines-1.eventlog.html \
numberLines-2a.eventlog.html \
numberLines-2b.eventlog.html \
numberLines-3a.eventlog.html \
numberLines-3b.eventlog.html \
numberLines-4.eventlog.html \
conduit-1a.eventlog.html \
conduit-1b.eventlog.html \
conduit-2.eventlog.html \
conduit-3.eventlog.html \
conduit-4.eventlog.html \
conduit-5.eventlog.html \
printSecret-1a.pdf \
printSecret-1b.pdf \
printSecret-1c.pdf \
numberLines-0.pdf \
numberLines-1.pdf \
numberLines-2a.pdf \
numberLines-2b.pdf \
numberLines-3a.pdf \
numberLines-3b.pdf \
numberLines-4.pdf \
conduit-1a.pdf \
conduit-1b.pdf \
conduit-2.pdf \
conduit-3.pdf \
conduit-4.pdf \
conduit-5.pdf \
conduit-6.pdf \
conduit-7.pdf \
conduit-8.pdf \
printSecret-1a.eventlog printSecret-1a.hp: ifl2024-sharing.cabal lib/*.hs exe/printSecret-1/*.hs
cat input | cabal run printSecret-1a -- +RTS -s -l -hT -i0.001
printSecret-1b.eventlog printSecret-1b.hp: ifl2024-sharing.cabal lib/*.hs exe/printSecret-1/*.hs
cat input | cabal run printSecret-1b -- +RTS -s -l -hT -i0.001
printSecret-1c.eventlog printSecret-1c.hp: ifl2024-sharing.cabal lib/*.hs exe/printSecret-1/*.hs
cat input | cabal run printSecret-1c -- +RTS -s -l -hT -i0.001
printSecret-2.eventlog printSecret-2.hp: ifl2024-sharing.cabal lib/*.hs exe/printSecret-2/*.hs
cat input | cabal run printSecret-2 -- +RTS -s -l -hT -i0.001
printSecret-3.eventlog printSecret-3.hp: ifl2024-sharing.cabal lib/*.hs exe/printSecret-3/*.hs
cat input | cabal run printSecret-3 -- +RTS -s -l -hT -i0.001
numberLines-0.eventlog numberLines-0.hp: ifl2024-sharing.cabal lib/*.hs exe/numberLines-0/*.hs lotsalines
cat lotsalines | cabal run numberLines-0 -- +RTS -s -l -hT -i0.001 >/dev/null
numberLines-1.eventlog numberLines-1.hp: ifl2024-sharing.cabal lib/*.hs exe/numberLines-1/*.hs lotsalines
cat lotsalines | cabal run numberLines-1 -- +RTS -s -l -hT -i0.001 >/dev/null
numberLines-2a.eventlog numberLines-2a.hp: ifl2024-sharing.cabal lib/*.hs exe/numberLines-2/*.hs lotsalines
cat lotsalines | cabal run numberLines-2a -- +RTS -s -l -hT -i0.001 >/dev/null
numberLines-2b.eventlog numberLines-2b.hp: ifl2024-sharing.cabal lib/*.hs exe/numberLines-2/*.hs lotsalines
cat lotsalines | cabal run numberLines-2b -- +RTS -s -l -hT -i0.001 >/dev/null
numberLines-3a.eventlog numberLines-3a.hp: ifl2024-sharing.cabal lib/*.hs exe/numberLines-3/*.hs lotsalines
cat lotsalines | cabal run numberLines-3a -- +RTS -s -l -hT -i0.001 >/dev/null
numberLines-3b.eventlog numberLines-3b.hp: ifl2024-sharing.cabal lib/*.hs exe/numberLines-3/*.hs lotsalines
cat lotsalines | cabal run numberLines-3b -- +RTS -s -l -hT -i0.001 >/dev/null
numberLines-4.eventlog numberLines-4.hp: ifl2024-sharing.cabal lib/*.hs exe/numberLines-4/*.hs lotsalines
cat lotsalines | cabal run numberLines-4 -- +RTS -s -l -hT -i0.001 >/dev/null
conduit-1a.eventlog conduit-1a.hp: ifl2024-sharing.cabal lib/*.hs exe/conduit-1/*.hs lotsalines
cabal run conduit-1a -- +RTS -s -l -hT -i0.1
conduit-1b.eventlog conduit-1b.hp: ifl2024-sharing.cabal lib/*.hs exe/conduit-1/*.hs lotsalines
cabal run conduit-1b -- +RTS -s -l -hT -i0.1
conduit-2.eventlog conduit-2.hp: ifl2024-sharing.cabal lib/*.hs exe/conduit-2/*.hs lotsalines
cabal run conduit-2 -- +RTS -s -l -hT -i0.1
conduit-3.eventlog conduit-3.hp: ifl2024-sharing.cabal lib/*.hs exe/conduit-3/*.hs lotsalines
cabal run conduit-3 -- +RTS -s -l -hT -i0.1
conduit-4.eventlog conduit-4.hp: ifl2024-sharing.cabal lib/*.hs exe/conduit-4/*.hs lotsalines
cabal run conduit-4 -- +RTS -s -l -hT -i0.1
conduit-5.eventlog conduit-5.hp: ifl2024-sharing.cabal lib/*.hs exe/conduit-5/*.hs lotsalines
cabal run conduit-5 -- +RTS -s -l -hT -i0.1
conduit-6.eventlog conduit-6.hp: ifl2024-sharing.cabal lib/*.hs exe/conduit-6/*.hs lotsalines
cabal run conduit-6 -- +RTS -s -l -hT -i0.1
conduit-7.eventlog conduit-7.hp: ifl2024-sharing.cabal lib/*.hs exe/conduit-7/*.hs lotsalines
cabal run conduit-7 -- +RTS -s -l -hT -i0.1
conduit-8.eventlog conduit-8.hp: ifl2024-sharing.cabal lib/*.hs exe/conduit-8/*.hs lotsalines
cabal run conduit-8 -- +RTS -s -l -hT -i0.1
lotsalines:
./genlotsalines.sh
%.eventlog.html: %.eventlog
eventlog2html $<
%.svg: %.hp
hp2pretty $<
%.pdf: %.svg
convert $< $@
.PHONY: clean
clean:
rm -f *.eventlog
rm -f *.eventlog.html
rm -f *.hp
rm -f *.svg
rm -rf dist-newstyle
rm -rf dump