Repository navigation
Expand file tree
/
Copy pathmake
More file actions
52 lines (45 loc) · 1.32 KB
/
Copy pathmake
File metadata and controls
52 lines (45 loc) · 1.32 KB
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
unset exit
set link false
set rezfork false
clearmem
for {header} in vncview vncsession vncdisplay colortables readtcp menus \
desktopsize mouse keyboard copyrect raw hextile clipboard
unset exit
newer VNCview.GS {header}.h
if {status} != 0
set exit on
delete -P -W =.a
end
end
for file in vncview vncsession vncdisplay colortables readtcp \
desktopsize mouse keyboard copyrect raw hextile clipboard
unset exit
newer {file}.a {file}.cc
if {status} != 0
set exit on
compile +O {file}.cc keep={file}
set link true
end
end
for file in tables rawdec
unset exit
newer {file}.a {file}.asm
if {status} != 0
set exit on
assemble {file}.asm keep={file}
set link true
end
end
unset exit
newer vncview.rezfork vncview.rez
if {status} != 0
set exit on
compile vncview.rez keep=vncview.rezfork
copy -C -P -R vncview.rezfork VNCview.GS
end
if {link} == true
link vncview vncsession vncdisplay colortables readtcp tables rawdec \
desktopsize mouse keyboard copyrect raw hextile clipboard \
keep=VNCview.GS
filetype VNCview.GS S16 $DB03
end