aboutsummaryrefslogtreecommitdiff
path: root/Plugins/makefile
blob: f4e6b6c5c173b51d472158e41fd9b09baa75bf09 (plain)
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
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
all:	noize colortv subtract xbend bend gol shuffle green \
	tile rgbcopy copyvert black rgb hist setbits xshred \
	sonogram vf2fs fs2vf swap 2colors plot makesliders \
	convolution compare darken deinterlace difference interlace lighten \
	multiply overlay screen shadowcaster softlight \
	rgbseek modgain traffic constrain eclipse eclipse02 eclipse03 \
	cga keyscreen rene cutout fromage rgbavg rgbavg02 \
	rowca argument-passing lightspeed

	dir *.dll

# FLAGS:
#
# <opts!!!>

FLAGS = /LD /Gd /GD /Ox

# does this suck or what? how to do it better?
EFFECT = /export:info /export:perform_effect
COPY = /export:info /export:perform_copy
BOTH = /export:info /export:perform_effect /export:perform_copy

noize:
	cl noize.c $(FLAGS) /link $(BOTH)

colortv:
	cl colortv.c $(FLAGS) /link $(BOTH)

subtract:
	cl subtract.cpp $(FLAGS) /GX /link $(EFFECT)

xbend:
	cl xbend.c $(FLAGS) /link $(BOTH)

bend:
	cl bend.c $(FLAGS) /link $(BOTH)

gol:
	cl gol.c $(FLAGS) /link $(EFFECT)

shuffle:
	cl shuffle.c $(FLAGS) /link $(EFFECT)

green:
	cl green.cpp $(FLAGS) /link $(EFFECT)

tile:
	cl tile.cpp $(FLAGS) /link $(COPY)

rgbcopy:
	cl rgbcopy.cpp $(FLAGS) /link $(COPY)

copyvert:
	cl copy_vert.c $(FLAGS) /link $(COPY)

black:
	cl black.c $(FLAGS) /link $(BOTH)

rgb:
	cl rgb.c $(FLAGS) /link $(EFFECT)

hist:
	cl hist.cpp $(FLAGS) /link $(EFFECT)

setbits:
	cl setbits.c $(FLAGS) /link $(EFFECT)

sonogram:
	cl sonogram.cpp $(FLAGS) /link $(EFFECT)

xshred:
	cl xshred.c $(FLAGS) /link $(COPY)

vf2fs:
	cl vf2fs.c $(FLAGS) /I..\Externals /link $(EFFECT)

fs2vf:
	cl fs2vf.c $(FLAGS) /I..\Externals /link $(EFFECT)

swap:
	cl swap.cpp $(FLAGS) /link $(COPY)

2colors:
	cl 2colors.cpp $(FLAGS) /link $(EFFECT)

plot:
	cl plot.cpp $(FLAGS) /link $(EFFECT)

makesliders:
	cl makesliders.c $(FLAGS) /link $(EFFECT)
	copy makesliders.dll ms.dll

#
# PixelPack by Olaf Matthes
#

convolution:
	cl convolution.c $(FLAGS) /link $(EFFECT)

compare:
	cl compare.c $(FLAGS) /link $(COPY)

darken:
	cl darken.c $(FLAGS) /link $(COPY)

deinterlace:
	cl deinterlace.c $(FLAGS) /link $(EFFECT)

difference:
	cl difference.c $(FLAGS) /link $(COPY)

interlace:
	cl interlace.c $(FLAGS) /link $(COPY)

lighten:
	cl lighten.c $(FLAGS) /link $(COPY)

multiply:
	cl multiply.c $(FLAGS) /link $(COPY)

overlay:
	cl overlay.c $(FLAGS) /link $(COPY)

screen:
	cl screen.c $(FLAGS) /link $(COPY)

shadowcaster:
	cl shadowcaster.c $(FLAGS) /link $(BOTH)

softlight:
	cl softlight.c $(FLAGS) /link $(COPY)

#
# </PixelPack>
#

#
# PeRColate
#

rgbseek:
	cl rgbseek.c $(FLAGS) /link $(EFFECT)

modgain:
	cl modgain.c $(FLAGS) /link $(EFFECT)

traffic:
	cl traffic.c $(FLAGS) /link $(EFFECT)

constrain:
	cl constrain.c $(FLAGS) /link $(EFFECT)

eclipse:
	cl eclipse.c $(FLAGS) /link $(EFFECT)

eclipse02:
	cl eclipse02.c $(FLAGS) /link $(COPY)

eclipse03:
	cl eclipse03.c $(FLAGS) /link $(EFFECT)

cga:
	cl cga.c $(FLAGS) /link $(EFFECT)

keyscreen:
	cl keyscreen.c $(FLAGS) /link $(COPY)

rene:
	cl rene.c $(FLAGS) /link $(COPY)

cutout:
	cl cutout.c $(FLAGS) /link $(COPY)

fromage:
	cl fromage.c $(FLAGS) /link $(COPY)

rgbavg:
	cl rgbavg.c $(FLAGS) /link $(EFFECT)

rgbavg02:
	cl rgbavg02.c $(FLAGS) /link $(COPY)

#
# </PeRColate>
#

rowca:
	cl rowca.cpp $(FLAGS) /GX /link $(EFFECT)

argument-passing:
	cl argument-passing.cpp $(FLAGS) /GX /link $(EFFECT)

lightspeed:
	cl lightspeed.c $(FLAGS) /link $(EFFECT)