forked from ksinkar/ticpp1
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmakefile
173 lines (167 loc) · 2.8 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
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
# Master makefile for Thinking in C++, 2nd Ed. by Bruce Eckel
# at http://www.BruceEckel.com
# Compiles all the code in the book
# Copyright notice in Copyright.txt
help:
@echo To compile all programs from
@echo Thinking in C++, 2nd Ed., type
@echo one of the following commands,
@echo according to your compiler:
@echo make Borland
@echo make Microsoft
@echo make all
@echo make gcc
Borland:
cd C02
make -f Borland.makefile
cd ..
cd C03
make -f Borland.makefile
cd ..
cd C04
make -f Borland.makefile
cd ..
cd C05
make -f Borland.makefile
cd ..
cd C06
make -f Borland.makefile
cd ..
cd C07
make -f Borland.makefile
cd ..
cd C08
make -f Borland.makefile
cd ..
cd C09
make -f Borland.makefile
cd ..
cd C10
make -f Borland.makefile
cd ..
cd C11
make -f Borland.makefile
cd ..
cd C12
make -f Borland.makefile
cd ..
cd C13
make -f Borland.makefile
cd ..
cd C14
make -f Borland.makefile
cd ..
cd C15
make -f Borland.makefile
cd ..
cd C16
make -f Borland.makefile
cd ..
Microsoft:
cd C02
make -f Microsoft.makefile
cd ..
cd C03
make -f Microsoft.makefile
cd ..
cd C04
make -f Microsoft.makefile
cd ..
cd C05
make -f Microsoft.makefile
cd ..
cd C06
make -f Microsoft.makefile
cd ..
cd C07
make -f Microsoft.makefile
cd ..
cd C08
make -f Microsoft.makefile
cd ..
cd C09
make -f Microsoft.makefile
cd ..
cd C10
make -f Microsoft.makefile
cd ..
cd C11
make -f Microsoft.makefile
cd ..
cd C12
make -f Microsoft.makefile
cd ..
cd C13
make -f Microsoft.makefile
cd ..
cd C14
make -f Microsoft.makefile
cd ..
cd C15
make -f Microsoft.makefile
cd ..
cd C16
make -f Microsoft.makefile
cd ..
all:
cd C02
make -f all.makefile
cd ..
cd C03
make -f all.makefile
cd ..
cd C04
make -f all.makefile
cd ..
cd C05
make -f all.makefile
cd ..
cd C06
make -f all.makefile
cd ..
cd C07
make -f all.makefile
cd ..
cd C08
make -f all.makefile
cd ..
cd C09
make -f all.makefile
cd ..
cd C10
make -f all.makefile
cd ..
cd C11
make -f all.makefile
cd ..
cd C12
make -f all.makefile
cd ..
cd C13
make -f all.makefile
cd ..
cd C14
make -f all.makefile
cd ..
cd C15
make -f all.makefile
cd ..
cd C16
make -f all.makefile
cd ..
gcc:
cd C02; make -f gcc.makefile
cd C03; make -f gcc.makefile
cd C04; make -f gcc.makefile
cd C05; make -f gcc.makefile
cd C06; make -f gcc.makefile
cd C07; make -f gcc.makefile
cd C08; make -f gcc.makefile
cd C09; make -f gcc.makefile
cd C10; make -f gcc.makefile
cd C11; make -f gcc.makefile
cd C12; make -f gcc.makefile
cd C13; make -f gcc.makefile
cd C14; make -f gcc.makefile
cd C15; make -f gcc.makefile
cd C16; make -f gcc.makefile