Mercurial > hg > forks > pwpunix
annotate flier/Makefile @ 5:20ff062b55cd
Silence some bullshit GCC warnings.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 18 May 2010 05:23:17 +0300 |
parents | acb5694e93d9 |
children |
rev | line source |
---|---|
0 | 1 ASCFLIERS=pwpflier0-small.txt pwpflier0-big.txt |
2 PSFLIERS=pwpflier0.ps pwpflier0b.ps pwpflier0c.ps | |
3 | |
4 all: ascfliers psfliers | |
5 | |
6 ascfliers: $(ASCFLIERS) | |
7 | |
8 psfliers: $(PSFLIERS) | |
9 | |
10 pwpflier: pwpflier.c | |
5
20ff062b55cd
Silence some bullshit GCC warnings.
Matti Hamalainen <ccr@tnsp.org>
parents:
0
diff
changeset
|
11 $(CC) -g -W -Wall -o $@ $< |
0 | 12 |
13 pwpflier0-small.txt: pwpflier | |
14 ./pwpflier 3 3 > pwpflier0-small.txt | |
15 | |
16 pwpflier0-big.txt: pwpflier | |
17 ./pwpflier 7 5 > pwpflier0-big.txt | |
18 | |
19 pwpflier0b-big.txt: pwpflier | |
20 ./pwpflier 4 3 > pwpflier0b-big.txt | |
21 | |
22 pwpflier0c-big.txt: pwpflier | |
23 ./pwpflier 7 5 plasma > pwpflier0c-big.txt | |
24 | |
25 pwpflier0-big2.txt: pwpflier0-big.txt | |
26 cat pwpflier0-big.txt pwpflier0-big.txt > pwpflier0-big2.txt | |
27 | |
28 pwpflier0b-big2.txt: pwpflier0b-big.txt | |
29 cat pwpflier0b-big.txt pwpflier0b-big.txt > pwpflier0b-big2.txt | |
30 | |
31 pwpflier0c-big2.txt: pwpflier0c-big.txt | |
32 cat pwpflier0c-big.txt pwpflier0c-big.txt > pwpflier0c-big2.txt | |
33 | |
34 pwpflier0.ps: pwpflier pwpflier0-big2.txt | |
35 a2ps --prologue=bold --no-header --chars-per-line=230 \ | |
36 --copies=4 pwpflier0-big2.txt > pwpflier0.ps | |
37 | |
38 pwpflier0b.ps: pwpflier pwpflier0b-big2.txt | |
39 a2ps --prologue=bold --no-header --chars-per-line=140 \ | |
40 pwpflier0b-big2.txt > pwpflier0b.ps | |
41 | |
42 pwpflier0c.ps: pwpflier pwpflier0c-big2.txt | |
43 a2ps --prologue=bold --no-header --chars-per-line=230 \ | |
44 --copies=4 pwpflier0c-big2.txt > pwpflier0c.ps | |
45 | |
46 clean: | |
47 rm -f *~ pwpflier $(ASCFLIERS) $(PSFLIERS) |