home *** CD-ROM | disk | FTP | other *** search
/ The Party 1994: Try This At Home / disk_image.bin / source / gallery / makefile < prev    next >
Makefile  |  1994-06-14  |  2KB  |  82 lines

  1. #
  2. #  makefile for Inconexia's art gallery part  //  ARM 6/94
  3. #
  4. # ....
  5. # below: use SYNC_NO=0 to run under DEMOVT, SYNC_NO=1 to synchronize
  6. # with system timer, SYNC_NO=2 to run at full speed (no sync, convenient
  7. # when debugging)
  8.  
  9. .autodepend
  10.  
  11. !ifndef SYNC_NO
  12. # default is SYNCHRO=2
  13.   SYNC_NO = 2
  14. !endif
  15.  
  16. # assembler & linker (tested with TASM 4.0, TLINK 6.0, MAKE 3.7)
  17.  
  18. ASM = TASM  /zi /DSYNCHRO=$(SYNC_NO)
  19. LINK= TLINK /x /v
  20.  
  21. # picture list
  22.  
  23. .path.obi = texture
  24. .path.obb = texture
  25.  
  26. PICS= w_finale.obb w_outsid.obi w_indoor.obi w_pic1.obi      \
  27.       w_pic2.obi   w_pic3.obi   w_pic4.obi   w_pic5.obi      \
  28.       w_pic6.obi   w_pic7.obi   w_pic8.obi   w_pic9.obi      \
  29.       w_pic10.obi  w_pic11.obi  w_pic12.obi  w_pic13.obi
  30.  
  31. # obj list
  32.  
  33. OBJ = a_vga.obj a_rays.obj a_proj.obj a_render.obj a_flrsky.obj a_vt.obj
  34.  
  35.  
  36. # main target
  37.  
  38. a_gallry.exe :  a_gallry.obj $(OBJ) $(PICS)
  39.   $(LINK) @&&!
  40.     $**
  41.     a_gallry.exe
  42. !
  43.  
  44. .asm.obj:
  45.   $(ASM) $*.asm
  46.  
  47.  
  48. # explicitly declare data\*.inc dependencies
  49.  
  50. a_vga.obj    :  data\palette.inc
  51. a_rays.obj   :  data\mapdata.inc
  52. a_gallry.obj :  data\script.inc
  53.  
  54.  
  55. # rules for building data\*.inc files
  56.  
  57. data\mapdata.inc : map\map.gri map\mapdata.exe
  58.   cd map
  59.   mapdata
  60.   cd..
  61.   move map\mapdata.inc data\mapdata.inc
  62.  
  63. data\palette.inc : color\colors color\pal2.exe
  64.   cd color
  65.   pal2 /v colors
  66.   cd ..
  67.   move color\palette.inc data\palette.inc
  68.   copy color\palette.col texture\pix2bin.pal
  69.   cd texture
  70.   make -B
  71.   cd ..
  72.  
  73. data\script.inc : map\mypath.ppp map\tpath.exe map\spath.exe
  74.    cd map
  75.    tpath mypath.ppp mypath.out
  76.    spath mypath.out mypath.scr
  77.    del mypath.out
  78.    cd..
  79.    move map\mypath.scr data\script.inc
  80.  
  81.  
  82.