author | Markus Bröker <mbroeker@largo.dyndns.tv> |
Thu, 16 Apr 2009 12:49:13 +0200 | |
changeset 62 | b7061c0e239f |
parent 58 | 9609c54a54d3 |
child 64 | 993b97c4ad2d |
permissions | -rw-r--r-- |
0 | 1 |
CC=gcc -g -ggdb |
2
97beb75e5ac7
bad alloc example added
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
0
diff
changeset
|
2 |
CPP=g++ -g -ggdb |
0 | 3 |
CFLAGS=-Wall -O2 -Iinclude -ansi |
4 |
TARGET=ncurses \ |
|
5 |
numerierung \ |
|
6 |
xdemo \ |
|
7 |
signals \ |
|
8 |
tree \ |
|
9 |
utf8 \ |
|
10 |
file_demo \ |
|
11 |
testcase \ |
|
12 |
atoi_print \ |
|
13 |
data_types \ |
|
14 |
dnsresolve \ |
|
15 |
nomalloc \ |
|
16 |
urandom \ |
|
17 |
threads \ |
|
18 |
crypt \ |
|
19 |
tokenpasting \ |
|
20 |
hex2chars \ |
|
21 |
floating \ |
|
22 |
max \ |
|
23 |
recording \ |
|
24 |
endian \ |
|
25 |
fak \ |
|
26 |
blackhole \ |
|
27 |
folge \ |
|
28 |
counter \ |
|
29 |
sudoku \ |
|
30 |
cunit \ |
|
31 |
md5 \ |
|
45
7197576fedcf
pmc: namespace algebra for vector
Emilio Largo <largo@largo.homelinux.org>
parents:
43
diff
changeset
|
32 |
md5rec \ |
58
9609c54a54d3
myprintf.c added - replaces varargs.c
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
56
diff
changeset
|
33 |
myprintf \ |
0 | 34 |
concatenation \ |
35 |
alpha_beta \ |
|
2
97beb75e5ac7
bad alloc example added
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
0
diff
changeset
|
36 |
life \ |
3
820ed7fb9314
database, gauss, lotto, mem2swap, prog_limit moved to demos
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
2
diff
changeset
|
37 |
bad_alloc \ |
820ed7fb9314
database, gauss, lotto, mem2swap, prog_limit moved to demos
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
2
diff
changeset
|
38 |
lotto \ |
820ed7fb9314
database, gauss, lotto, mem2swap, prog_limit moved to demos
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
2
diff
changeset
|
39 |
database \ |
820ed7fb9314
database, gauss, lotto, mem2swap, prog_limit moved to demos
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
2
diff
changeset
|
40 |
gauss \ |
820ed7fb9314
database, gauss, lotto, mem2swap, prog_limit moved to demos
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
2
diff
changeset
|
41 |
mem2swap \ |
10
f19f44e2e863
a nice connection demo from an irc user
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
8
diff
changeset
|
42 |
prog_limit \ |
11
0a8be4eac87e
c++ file copy demo added
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
10
diff
changeset
|
43 |
connection \ |
24
9cdad6c45b47
function pointer demo added
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
11
diff
changeset
|
44 |
copy \ |
25 | 45 |
function_pointers \ |
26
d227047a3e88
convert minutes to timestamps
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
25
diff
changeset
|
46 |
sort \ |
30
d037c433ec3e
kleiner auffschrischungskurs compilerbau...
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
26
diff
changeset
|
47 |
min2time \ |
33 | 48 |
recursive_compiler \ |
41 | 49 |
getpwnam_error \ |
43 | 50 |
xmlparser \ |
51
a03372ef9714
base10.c added and set_limit changed
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
45
diff
changeset
|
51 |
vector \ |
56 | 52 |
base10 \ |
53 |
files \ |
|
54 |
fork \ |
|
62
b7061c0e239f
unicode.c added and myprintf improved
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
58
diff
changeset
|
55 |
duff \ |
b7061c0e239f
unicode.c added and myprintf improved
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
58
diff
changeset
|
56 |
unicode |
0 | 57 |
|
2
97beb75e5ac7
bad alloc example added
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
0
diff
changeset
|
58 |
.SUFFIXES: .c .cc .asm |
0 | 59 |
|
60 |
.c.o: |
|
61 |
@echo Compiling $< ... |
|
62 |
@$(CC) -c $(CFLAGS) -o $@ $< |
|
63 |
||
2
97beb75e5ac7
bad alloc example added
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
0
diff
changeset
|
64 |
.cc.o: |
97beb75e5ac7
bad alloc example added
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
0
diff
changeset
|
65 |
@echo Compiling $< ... |
97beb75e5ac7
bad alloc example added
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
0
diff
changeset
|
66 |
@$(CPP) -c $(CFLAGS) -o $@ $< |
97beb75e5ac7
bad alloc example added
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
0
diff
changeset
|
67 |
|
0 | 68 |
.asm.o: |
69 |
@echo Assembling $< ... |
|
70 |
@$(NASM) $< -o $@ |
|
71 |
||
72 |
all: $(TARGET) |
|
73 |
||
74 |
ncurses: ncurses.o |
|
75 |
@echo Linking $< ... |
|
76 |
@$(CC) $(CFLAGS) -lncursesw -o $@ $< |
|
77 |
||
78 |
numerierung: numerierung.o |
|
79 |
@echo Linking $< ... |
|
80 |
@$(CC) $(CFLAGS) -o $@ $< |
|
81 |
||
82 |
xdemo: xdemo.o |
|
83 |
@echo Linking $< ... |
|
84 |
@$(CC) $(CFLAGS) -lX11 -o $@ $< |
|
85 |
||
86 |
signals: signals.o |
|
87 |
@echo Linking $< ... |
|
88 |
@$(CC) $(CFLAGS) -o $@ $< |
|
89 |
||
90 |
tree: tree.o |
|
91 |
@echo Linking $< ... |
|
92 |
@$(CC) $(CFLAGS) -o $@ $< |
|
93 |
||
94 |
utf8: utf8.o |
|
95 |
@echo Linking $< ... |
|
96 |
@$(CC) $(CFLAGS) -o $@ $< |
|
97 |
||
98 |
file_demo: file_demo.o |
|
99 |
@echo Linking $< ... |
|
100 |
@$(CC) $(CFLAGS) -o $@ $< |
|
101 |
||
102 |
testcase: testcase.o |
|
103 |
@echo Linking $< ... |
|
104 |
@$(CC) $(CFLAGS) -o $@ $< |
|
105 |
||
106 |
atoi_print: atoi_print.o |
|
107 |
@echo Linking $< ... |
|
108 |
@$(CC) $(CFLAGS) -o $@ $< |
|
109 |
||
110 |
data_types: data_types.c |
|
39 | 111 |
@echo Compiling $< ... |
0 | 112 |
@$(CC) $(CFLAGS) -std=c99 -o $@ $< |
113 |
||
114 |
dnsresolve: dnsresolve.o |
|
115 |
@echo Linking $< ... |
|
116 |
@$(CC) $(CFLAGS) -o $@ $< |
|
117 |
||
118 |
nomalloc: nomalloc.o |
|
119 |
@echo Linking $< ... |
|
120 |
@$(CC) $(CFLAGS) -o $@ $< |
|
121 |
||
122 |
urandom: urandom.o |
|
123 |
@echo Linking $< ... |
|
124 |
@$(CC) $(CFLAGS) -o $@ $< |
|
125 |
||
126 |
threads: threads.o |
|
127 |
@echo Linking $< ... |
|
128 |
@$(CC) $(CFLAGS) -o $@ $< -lpthread |
|
129 |
||
130 |
crypt: crypt.o |
|
131 |
@echo Linking $< ... |
|
32 | 132 |
@$(CC) $(CFLAGS) -o $@ $< -lcrypt |
0 | 133 |
|
134 |
tokenpasting: tokenpasting.o |
|
135 |
@echo Linking $< ... |
|
136 |
@$(CC) $(CFLAGS) -o $@ $< |
|
137 |
||
138 |
hex2chars: hex2chars.o |
|
139 |
@echo Linking $< ... |
|
140 |
@$(CC) $(CFLAGS) -o $@ $< -lm |
|
141 |
||
142 |
floating: floating.o |
|
143 |
@echo Linking $< ... |
|
144 |
@$(CC) $(CFLAGS) -o $@ $< -lm |
|
145 |
||
146 |
max: max.o |
|
147 |
@echo Linking $< ... |
|
148 |
@$(CC) $(CFLAGS) -o $@ $< |
|
149 |
||
150 |
recording: recording.o |
|
151 |
@echo Linking $< ... |
|
152 |
@$(CC) $(CFLAGS) -o $@ $< |
|
153 |
||
154 |
endian: endian.o |
|
155 |
@echo Linking $< ... |
|
156 |
@$(CC) $(CFLAGS) -o $@ $< |
|
157 |
||
158 |
fak: fak.o |
|
159 |
@echo Linking $< ... |
|
160 |
@$(CC) $(CFLAGS) -o $@ $< |
|
161 |
||
162 |
blackhole: blackhole.c |
|
163 |
@echo Compiling AND Linking $< WITH -O0 ... |
|
164 |
@$(CC) $(CFLAGS) -O0 -o $@ $< |
|
165 |
||
166 |
folge: folge.o |
|
167 |
@echo Linking $< ... |
|
168 |
@$(CC) $(CFLAGS) -o $@ $< -lm |
|
169 |
||
170 |
counter: counter.o |
|
171 |
@echo Linking $< ... |
|
172 |
@$(CC) $(CFLAGS) -o $@ $< |
|
173 |
||
174 |
sudoku: sudoku.o |
|
175 |
@echo Linking $< ... |
|
176 |
@$(CC) $(CFLAGS) -o $@ $< |
|
177 |
||
178 |
cunit: cunit.o |
|
179 |
@echo Linking $< ... |
|
180 |
@$(CC) $(CFLAGS) -o $@ $< -lcunit |
|
181 |
||
182 |
md5: md5.o |
|
183 |
@echo Linking $< ... |
|
45
7197576fedcf
pmc: namespace algebra for vector
Emilio Largo <largo@largo.homelinux.org>
parents:
43
diff
changeset
|
184 |
@$(CC) -o $@ $< -lssl |
7197576fedcf
pmc: namespace algebra for vector
Emilio Largo <largo@largo.homelinux.org>
parents:
43
diff
changeset
|
185 |
|
7197576fedcf
pmc: namespace algebra for vector
Emilio Largo <largo@largo.homelinux.org>
parents:
43
diff
changeset
|
186 |
md5rec: md5rec.o |
7197576fedcf
pmc: namespace algebra for vector
Emilio Largo <largo@largo.homelinux.org>
parents:
43
diff
changeset
|
187 |
@echo Linking $< ... |
0 | 188 |
@$(CC) -o $@ $< -llsf |
189 |
||
58
9609c54a54d3
myprintf.c added - replaces varargs.c
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
56
diff
changeset
|
190 |
myprintf: myprintf.o |
0 | 191 |
@echo Linking $< ... |
192 |
@$(CC) -o $@ $< |
|
193 |
||
194 |
concatenation: concatenation.o |
|
195 |
@echo Linking $< ... |
|
196 |
@$(CC) -o $@ $< |
|
197 |
||
198 |
alpha_beta: alpha_beta.o |
|
199 |
@echo Linking $< ... |
|
200 |
@$(CC) -o $@ $< |
|
201 |
||
2
97beb75e5ac7
bad alloc example added
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
0
diff
changeset
|
202 |
life: life.o |
0 | 203 |
@echo Linking $< ... |
204 |
@$(CC) -o $@ $< |
|
205 |
||
2
97beb75e5ac7
bad alloc example added
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
0
diff
changeset
|
206 |
bad_alloc: bad_alloc.o |
97beb75e5ac7
bad alloc example added
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
0
diff
changeset
|
207 |
@echo Linking $< ... |
97beb75e5ac7
bad alloc example added
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
0
diff
changeset
|
208 |
@$(CPP) -o $@ $< |
97beb75e5ac7
bad alloc example added
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
0
diff
changeset
|
209 |
|
3
820ed7fb9314
database, gauss, lotto, mem2swap, prog_limit moved to demos
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
2
diff
changeset
|
210 |
lotto: lotto.o |
820ed7fb9314
database, gauss, lotto, mem2swap, prog_limit moved to demos
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
2
diff
changeset
|
211 |
@echo Linking $< ... |
820ed7fb9314
database, gauss, lotto, mem2swap, prog_limit moved to demos
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
2
diff
changeset
|
212 |
@$(CPP) -o $@ $< |
820ed7fb9314
database, gauss, lotto, mem2swap, prog_limit moved to demos
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
2
diff
changeset
|
213 |
|
820ed7fb9314
database, gauss, lotto, mem2swap, prog_limit moved to demos
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
2
diff
changeset
|
214 |
mem2swap: mem2swap.o set_limit.o |
820ed7fb9314
database, gauss, lotto, mem2swap, prog_limit moved to demos
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
2
diff
changeset
|
215 |
@echo Linking $< ... |
820ed7fb9314
database, gauss, lotto, mem2swap, prog_limit moved to demos
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
2
diff
changeset
|
216 |
@$(CPP) -o $@ mem2swap.o set_limit.o |
820ed7fb9314
database, gauss, lotto, mem2swap, prog_limit moved to demos
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
2
diff
changeset
|
217 |
|
820ed7fb9314
database, gauss, lotto, mem2swap, prog_limit moved to demos
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
2
diff
changeset
|
218 |
prog_limit: prog_limit.o set_limit.o |
820ed7fb9314
database, gauss, lotto, mem2swap, prog_limit moved to demos
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
2
diff
changeset
|
219 |
@echo Linking $< ... |
820ed7fb9314
database, gauss, lotto, mem2swap, prog_limit moved to demos
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
2
diff
changeset
|
220 |
@$(CPP) -o $@ prog_limit.o set_limit.o |
820ed7fb9314
database, gauss, lotto, mem2swap, prog_limit moved to demos
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
2
diff
changeset
|
221 |
|
820ed7fb9314
database, gauss, lotto, mem2swap, prog_limit moved to demos
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
2
diff
changeset
|
222 |
database: database.c |
8
96d16dfe787a
We use return EXIT_SUCCESS instead of return 0
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
3
diff
changeset
|
223 |
@echo Compiling $< ... |
96d16dfe787a
We use return EXIT_SUCCESS instead of return 0
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
3
diff
changeset
|
224 |
@$(CC) -c -I$(shell pg_config --includedir) $< |
3
820ed7fb9314
database, gauss, lotto, mem2swap, prog_limit moved to demos
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
2
diff
changeset
|
225 |
@echo Linking $< ... |
8
96d16dfe787a
We use return EXIT_SUCCESS instead of return 0
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
3
diff
changeset
|
226 |
@$(CC) -lpq -o $@ $@.o |
3
820ed7fb9314
database, gauss, lotto, mem2swap, prog_limit moved to demos
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
2
diff
changeset
|
227 |
|
820ed7fb9314
database, gauss, lotto, mem2swap, prog_limit moved to demos
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
2
diff
changeset
|
228 |
gauss: gauss.o |
820ed7fb9314
database, gauss, lotto, mem2swap, prog_limit moved to demos
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
2
diff
changeset
|
229 |
@echo Linking $< ... |
820ed7fb9314
database, gauss, lotto, mem2swap, prog_limit moved to demos
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
2
diff
changeset
|
230 |
@$(CPP) -o $@ $< |
820ed7fb9314
database, gauss, lotto, mem2swap, prog_limit moved to demos
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
2
diff
changeset
|
231 |
|
10
f19f44e2e863
a nice connection demo from an irc user
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
8
diff
changeset
|
232 |
connection: connection.o |
f19f44e2e863
a nice connection demo from an irc user
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
8
diff
changeset
|
233 |
@echo Linking $< ... |
f19f44e2e863
a nice connection demo from an irc user
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
8
diff
changeset
|
234 |
@$(CPP) -o $@ $< |
f19f44e2e863
a nice connection demo from an irc user
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
8
diff
changeset
|
235 |
|
11
0a8be4eac87e
c++ file copy demo added
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
10
diff
changeset
|
236 |
copy: copy.o |
0a8be4eac87e
c++ file copy demo added
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
10
diff
changeset
|
237 |
@echo Linking $< ... |
0a8be4eac87e
c++ file copy demo added
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
10
diff
changeset
|
238 |
@$(CPP) -o $@ $< |
0a8be4eac87e
c++ file copy demo added
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
10
diff
changeset
|
239 |
|
24
9cdad6c45b47
function pointer demo added
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
11
diff
changeset
|
240 |
function_pointers: function_pointers.o |
9cdad6c45b47
function pointer demo added
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
11
diff
changeset
|
241 |
@echo Linking $< ... |
9cdad6c45b47
function pointer demo added
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
11
diff
changeset
|
242 |
@$(CC) -o $@ $< |
9cdad6c45b47
function pointer demo added
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
11
diff
changeset
|
243 |
|
25 | 244 |
sort: sort.o |
245 |
@echo Linking $< ... |
|
246 |
@$(CC) -o $@ $< |
|
247 |
||
26
d227047a3e88
convert minutes to timestamps
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
25
diff
changeset
|
248 |
min2time: min2time.o |
d227047a3e88
convert minutes to timestamps
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
25
diff
changeset
|
249 |
@echo Linking $< ... |
d227047a3e88
convert minutes to timestamps
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
25
diff
changeset
|
250 |
@$(CC) -o $@ $< |
d227047a3e88
convert minutes to timestamps
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
25
diff
changeset
|
251 |
|
30
d037c433ec3e
kleiner auffschrischungskurs compilerbau...
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
26
diff
changeset
|
252 |
recursive_compiler: recursive_compiler.o |
d037c433ec3e
kleiner auffschrischungskurs compilerbau...
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
26
diff
changeset
|
253 |
@echo Linking $< ... |
d037c433ec3e
kleiner auffschrischungskurs compilerbau...
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
26
diff
changeset
|
254 |
@$(CC) -o $@ $< |
d037c433ec3e
kleiner auffschrischungskurs compilerbau...
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
26
diff
changeset
|
255 |
|
33 | 256 |
getpwnam_error: getpwnam_error.o |
257 |
@echo Linking $< ... |
|
258 |
@$(CC) -o $@ $< |
|
259 |
||
41 | 260 |
xmlparser: xmlparser.o |
261 |
@echo Linking $< ... |
|
262 |
@$(CC) -o $@ $< -lexpat |
|
263 |
||
43 | 264 |
vector: vector.o |
265 |
@echo Linking $< ... |
|
266 |
@$(CPP) -o $@ $< |
|
267 |
||
51
a03372ef9714
base10.c added and set_limit changed
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
45
diff
changeset
|
268 |
base10: base10.o |
a03372ef9714
base10.c added and set_limit changed
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
45
diff
changeset
|
269 |
@echo Linking $< ... |
a03372ef9714
base10.c added and set_limit changed
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
45
diff
changeset
|
270 |
@$(CC) -lm -o $@ $< |
a03372ef9714
base10.c added and set_limit changed
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
45
diff
changeset
|
271 |
|
56 | 272 |
files: files.o |
273 |
@echo Linking $< ... |
|
274 |
@$(CC) -o $@ $< |
|
275 |
||
276 |
fork: fork.o |
|
277 |
@echo Linking $< ... |
|
278 |
@$(CC) -o $@ $< |
|
279 |
||
280 |
duff: duff.o |
|
281 |
@echo Linking $< ... |
|
282 |
@$(CC) -o $@ $< |
|
283 |
||
62
b7061c0e239f
unicode.c added and myprintf improved
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
58
diff
changeset
|
284 |
unicode: unicode.c |
b7061c0e239f
unicode.c added and myprintf improved
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
58
diff
changeset
|
285 |
@echo Compiling $<... |
b7061c0e239f
unicode.c added and myprintf improved
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
58
diff
changeset
|
286 |
@$(CC) -c $(CFLAGS) -std=c99 $< |
b7061c0e239f
unicode.c added and myprintf improved
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
58
diff
changeset
|
287 |
@echo Linking $< ... |
b7061c0e239f
unicode.c added and myprintf improved
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
58
diff
changeset
|
288 |
@$(CC) -std=c99 -o $@ $< |
b7061c0e239f
unicode.c added and myprintf improved
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
58
diff
changeset
|
289 |
|
0 | 290 |
.PHONY: clean uninstall |
291 |
||
292 |
clean: |
|
293 |
rm -f *.o *~ |
|
294 |
rm -f $(TARGET) |
|
295 |