home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Party 1994: Try This At Home
/
disk_image.bin
/
source
/
gallery
/
makefile
< prev
next >
Wrap
Makefile
|
1994-06-14
|
2KB
|
82 lines
#
# makefile for Inconexia's art gallery part // ARM 6/94
#
# ....
# below: use SYNC_NO=0 to run under DEMOVT, SYNC_NO=1 to synchronize
# with system timer, SYNC_NO=2 to run at full speed (no sync, convenient
# when debugging)
.autodepend
!ifndef SYNC_NO
# default is SYNCHRO=2
SYNC_NO = 2
!endif
# assembler & linker (tested with TASM 4.0, TLINK 6.0, MAKE 3.7)
ASM = TASM /zi /DSYNCHRO=$(SYNC_NO)
LINK= TLINK /x /v
# picture list
.path.obi = texture
.path.obb = texture
PICS= w_finale.obb w_outsid.obi w_indoor.obi w_pic1.obi \
w_pic2.obi w_pic3.obi w_pic4.obi w_pic5.obi \
w_pic6.obi w_pic7.obi w_pic8.obi w_pic9.obi \
w_pic10.obi w_pic11.obi w_pic12.obi w_pic13.obi
# obj list
OBJ = a_vga.obj a_rays.obj a_proj.obj a_render.obj a_flrsky.obj a_vt.obj
# main target
a_gallry.exe : a_gallry.obj $(OBJ) $(PICS)
$(LINK) @&&!
$**
a_gallry.exe
!
.asm.obj:
$(ASM) $*.asm
# explicitly declare data\*.inc dependencies
a_vga.obj : data\palette.inc
a_rays.obj : data\mapdata.inc
a_gallry.obj : data\script.inc
# rules for building data\*.inc files
data\mapdata.inc : map\map.gri map\mapdata.exe
cd map
mapdata
cd..
move map\mapdata.inc data\mapdata.inc
data\palette.inc : color\colors color\pal2.exe
cd color
pal2 /v colors
cd ..
move color\palette.inc data\palette.inc
copy color\palette.col texture\pix2bin.pal
cd texture
make -B
cd ..
data\script.inc : map\mypath.ppp map\tpath.exe map\spath.exe
cd map
tpath mypath.ppp mypath.out
spath mypath.out mypath.scr
del mypath.out
cd..
move map\mypath.scr data\script.inc