aboutsummaryrefslogtreecommitdiff
path: root/Patches/makefile
blob: 6097c4251d80996f8e50c3903e512578baaf5c0b (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
all: vframe vsig vsnapshot vrgb vcolor vframeread vdrawarray arraysize buildstr l2s system

# FLAGS:
#
# note: maximum optimization (/Ox) causes crashes with plugins..

F = /DNT /DPD /LD /Gd /GD /Ogitb1 /Gs /Ic:\pd\src /I..\Plugins
L = c:\pd\bin\pd.lib

vframe:
	cl vframe.c $(F) /link /export:vframe_setup $(L) user32.lib

vsig:
	cl vsig~.c $(F) /link /export:vsig_tilde_setup $(L)

vsnapshot:
	cl vsnapshot~.c $(F) /link /export:vsnapshot_tilde_setup $(L)

vrgb:
	cl vrgb~.c $(F) /link /export:vrgb_tilde_setup $(L) user32.lib

vcolor:
	cl vcolor~.c $(F) /link /export:vcolor_tilde_setup $(L) user32.lib

vframeread:
	cl vframeread~.c $(F) /link /export:vframeread_tilde_setup $(L)

vdrawarray:
	cl vdrawarray.c $(F) /link /export:vdrawarray_setup $(L)

arraysize:
	cl arraysize.c $(F) /link /export:arraysize_setup $(L)

buildstr:
	cl buildstr.c $(F) /link /export:buildstr_setup $(L)

l2s:
	cl l2s.c $(F) /link /export:l2s_setup $(L)

system:
	cl system.c $(F) /link /export:system_setup $(L)