-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
65 lines (46 loc) · 1.89 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
# Copyright (c) David Cunningham and the Grit Game Engine project 2012
# Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php
TARGETS=HiFreqNoiseRing.64.bmp HiFreqNoiseDisc.64.bmp HiFreqNoiseGauss.64.bmp WhiteNoiseRing.64.bmp WhiteNoiseDisc.64.bmp WhiteNoiseGauss.64.bmp HiFreqNoiseRing.32.bmp HiFreqNoiseDisc.32.bmp HiFreqNoiseGauss.32.bmp WhiteNoiseRing.32.bmp WhiteNoiseDisc.32.bmp WhiteNoiseGauss.32.bmp
all: $(TARGETS)
install:
cp $(TARGETS) ../grit_core/media/system
high_freq_noise: high_freq_noise.c++
devg++ $< -o $@
HiFreqNoiseRing.64.pnm: high_freq_noise
WIDTH=64 HEIGHT=64 RING=1 ./high_freq_noise
mv HiFreqNoise.pnm $@
HiFreqNoiseDisc.64.pnm: high_freq_noise
WIDTH=64 HEIGHT=64 ./high_freq_noise
mv HiFreqNoise.pnm $@
HiFreqNoiseGauss.64.pnm: high_freq_noise
WIDTH=64 HEIGHT=64 GAUSS=1 ./high_freq_noise
mv HiFreqNoise.pnm $@
WhiteNoiseRing.64.pnm: high_freq_noise
WIDTH=64 HEIGHT=64 WHITE=1 RING=1 ./high_freq_noise
mv HiFreqNoise.pnm $@
WhiteNoiseDisc.64.pnm: high_freq_noise
WIDTH=64 HEIGHT=64 WHITE=1 ./high_freq_noise
mv HiFreqNoise.pnm $@
WhiteNoiseGauss.64.pnm: high_freq_noise
WIDTH=64 HEIGHT=64 WHITE=1 GAUSS=1 ./high_freq_noise
mv HiFreqNoise.pnm $@
HiFreqNoiseRing.32.pnm: high_freq_noise
WIDTH=32 HEIGHT=32 RING=1 ./high_freq_noise
mv HiFreqNoise.pnm $@
HiFreqNoiseDisc.32.pnm: high_freq_noise
WIDTH=32 HEIGHT=32 ./high_freq_noise
mv HiFreqNoise.pnm $@
HiFreqNoiseGauss.32.pnm: high_freq_noise
WIDTH=32 HEIGHT=32 GAUSS=1 ./high_freq_noise
mv HiFreqNoise.pnm $@
WhiteNoiseRing.32.pnm: high_freq_noise
WIDTH=32 HEIGHT=32 WHITE=1 RING=1 ./high_freq_noise
mv HiFreqNoise.pnm $@
WhiteNoiseDisc.32.pnm: high_freq_noise
WIDTH=32 HEIGHT=32 WHITE=1 ./high_freq_noise
mv HiFreqNoise.pnm $@
WhiteNoiseGauss.32.pnm: high_freq_noise
WIDTH=32 HEIGHT=32 WHITE=1 GAUSS=1 ./high_freq_noise
mv HiFreqNoise.pnm $@
%.bmp: %.pnm
ppmtobmp $< > $@