-
Notifications
You must be signed in to change notification settings - Fork 7
/
Makefile
142 lines (109 loc) · 4.39 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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
all: count test1k
count: Makefile
$(MAKE) -C src/ countChess
time src/countChess
noproms: Makefile
$(MAKE) -C src/ noproms
time src/noproms
test100: Makefile testRnd1kResearch
diff testRnd100Research sortedRnd100Research
sortedRnd100kLegalFENs: Makefile
$(MAKE) -C src/ randomFENs
$(MAKE) -C src/ sortFENs
time src/randomFENs 100 100000 | src/sortFENs > sortedRnd100kLegalFENs
sortedRnd100kLegalRanks: Makefile sortedRnd100kLegalFENs
$(MAKE) -C src/ cpr
time src/cpr rank < sortedRnd100kLegalFENs > sortedRnd100kLegalRanks
testRnd100kLegalFENs: Makefile sortedRnd100kLegalRanks
$(MAKE) -C src/ cpr
time src/cpr unrank < sortedRnd100kLegalRanks > testRnd100kLegalFEN
diff sortedRnd100kLegalFENs testRnd100kLegalFEN
sortedRnd1mLegalFENs: Makefile
$(MAKE) -C src/ randomFENs
$(MAKE) -C src/ sortFENs
time src/randomFENs 100 1000000 | src/sortFENs > sortedRnd1mLegalFENs
sortedRnd1mLegalRanks: Makefile sortedRnd1mLegalFENs
$(MAKE) -C src/ cpr
time src/cpr rank < sortedRnd1mLegalFENs > sortedRnd1mLegalRanks
testRnd1mLegalFENs: Makefile sortedRnd1mLegalRanks
$(MAKE) -C src/ cpr
time src/cpr unrank < sortedRnd1mLegalRanks > testRnd1mLegalFEN
diff sortedRnd1mLegalFENs testRnd1mLegalFEN
testRnd100Ranks: Makefile
$(MAKE) -C src/ randomRs
src/randomRs 8726713169886222032347729969256422370854716254 100 | sort -n > testRnd100Ranks
diff testRnd100Ranks sortedRnd100Ranks
testRnd100FENs: Makefile testRnd100Ranks
$(MAKE) -C src/ cpr
time src/cpr unrank < testRnd100Ranks > testRnd100FENs
diff testRnd100FENs sortedRnd100FENs
testRnd100Research: Makefile testRnd100FENs
$(MAKE) -C src/ legal
src/legal < testRnd100FENs > testRnd100Research
diff testRnd100Research sortedRnd100Research
testRnd100Ranking: Makefile testRnd100FENs
$(MAKE) -C src/ cpr
time src/cpr rank < testRnd100FENs > testRnd100FENsRanked
diff testRnd100Ranks testRnd100FENsRanked
test1k: Makefile testRnd1kResearch
diff testRnd1kResearch sortedRnd1kResearch
testRnd1kRanks: Makefile
$(MAKE) -C src/ randomRs
src/randomRs 8726713169886222032347729969256422370854716254 1000 | sort -n > testRnd1kRanks
diff testRnd1kRanks sortedRnd1kRanks
testRnd1kFENs: Makefile testRnd1kRanks
$(MAKE) -C src/ cpr
time src/cpr unrank < testRnd1kRanks > testRnd1kFENs
diff testRnd1kFENs sortedRnd1kFENs
testRnd1kResearch: Makefile testRnd1kFENs
$(MAKE) -C src/ legal
src/legal < testRnd1kFENs > testRnd1kResearch
diff testRnd1kResearch sortedRnd1kResearch
testRnd1kRanking: Makefile testRnd1kFENs
$(MAKE) -C src/ cpr
time src/cpr rank < testRnd1kFENs > testRnd1kFENsRanked
diff testRnd1kRanks testRnd1kFENsRanked
testRnd10kRanks: Makefile
$(MAKE) -C src/ randomRs
src/randomRs 8726713169886222032347729969256422370854716254 10000 | sort -n > testRnd10kRanks
diff testRnd10kRanks sortedRnd10kRanks
testRnd10kFENs: Makefile testRnd10kRanks
$(MAKE) -C src/ cpr
time src/cpr unrank < testRnd10kRanks > testRnd10kFENs
diff testRnd10kFENs sortedRnd10kFENs
testRnd10kResearch: Makefile testRnd10kFENs
$(MAKE) -C src/ legal
src/legal < testRnd10kFENs > testRnd10kResearch
diff testRnd10kResearch sortedRnd10kResearch
testRnd100kRanks: Makefile
$(MAKE) -C src/ randomRs
src/randomRs 8726713169886222032347729969256422370854716254 100000 | sort -n > testRnd100kRanks
diff testRnd100kRanks sortedRnd100kRanks
testRnd100kRanking: Makefile testRnd100kFENs
$(MAKE) -C src/ cpr
time src/cpr rank < testRnd100kFENs > testRnd100kFENsRanked
diff testRnd100kRanks testRnd100kFENsRanked
testRnd100kFENs: Makefile testRnd100kRanks
$(MAKE) -C src/ cpr
time src/cpr unrank < testRnd100kRanks > testRnd100kFENs
diff testRnd100kFENs sortedRnd100kFENs
testRnd100kResearch: Makefile testRnd100kFENs
$(MAKE) -C src/ legal
src/legal < testRnd100kFENs > testRnd100kResearch
diff testRnd100kResearch sortedRnd100kResearch
testRnd1mRanks: Makefile
$(MAKE) -C src/ randomRs
src/randomRs 8726713169886222032347729969256422370854716254 1000000 | sort -n > testRnd1mRanks
diff testRnd1mRanks sortedRnd1mRanks
testRnd1mRanking: Makefile testRnd1mFENs
$(MAKE) -C src/ cpr
time src/cpr rank < testRnd1mFENs > testRnd1mFENsRanked
diff testRnd1mRanks testRnd1mFENsRanked
testRnd1mFENs: Makefile testRnd1mRanks
$(MAKE) -C src/ cpr
time src/cpr unrank < testRnd1mRanks > testRnd1mFENs
diff testRnd1mFENs sortedRnd1mFENs
testRnd1mResearch: Makefile testRnd1mFENs
$(MAKE) -C src/ legal
src/legal < testRnd1mFENs > testRnd1mResearch
diff testRnd1mResearch sortedRnd1mResearch