-
Notifications
You must be signed in to change notification settings - Fork 5
/
Makefile
50 lines (36 loc) · 1.49 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
all:simulate lookahead serve genhist genhists genstring dailyEfficiencies
simulate: FORCE
#ghc -o simulate --make src/Simulate.lhs -isrc -O2 -funbox-strict-fields -funfolding-use-threshold=16 -prof -auto-all
ghc -o simulate --make src/Simulate.lhs -isrc -O2 -funbox-strict-fields -funfolding-use-threshold=16
lookahead: FORCE
ghc -o lookahead --make src/Lookahead.lhs -isrc -O2 -funbox-strict-fields -funfolding-use-threshold=16
serve: FORCE
ghc -o serve --make src/Server/Main.lhs -isrc -isrc/Antioch -O2 -funbox-strict-fields -funfolding-use-threshold=16
updatemocs: FORCE
ghc -o updatemocs --make src/UpdateMOCs.lhs -isrc -O2 -funbox-strict-fields -funfolding-use-threshold=16
genhist: FORCE
ghc -o genhist --make src/GenHistory.lhs -isrc -O2 -funbox-strict-fields -funfolding-use-threshold=16
genhists: FORCE
ghc -o genhists --make src/GenHistorys.lhs -isrc -O2 -funbox-strict-fields -funfolding-use-threshold=16
genstring: FORCE
ghc -o genstring --make src/GenStringency.lhs -isrc -O2 -funbox-strict-fields -funfolding-use-threshold=16
dailyEfficiencies: FORCE
ghc -o dailyEfficiencies --make src/DailyEfficiencies.lhs -isrc -O2 -funbox-strict-fields -funfolding-use-threshold=16
FORCE:
run:
./simulate
profile:
./simulate +RTS -p
heap:
./simulate +RTS -hc
clean:
find . -name "*~" -exec $(RM) {} \;
find . -name "*.hi" -exec $(RM) {} \;
find . -name "*.o" -exec $(RM) {} \;
clobber: clean
$(RM) serve
$(RM) simulate
$(RM) genhist
$(RM) genhists
$(RM) genstring
$(RM) dailyEfficiencies