home *** CD-ROM | disk | FTP | other *** search
/ C++ Games Programming / CPPGAMES.ISO / thx / demos / shootout / build / makefile < prev    next >
Encoding:
Makefile  |  1995-05-11  |  6.9 KB  |  204 lines

  1. #/-------------------------------------------------------------------------
  2. #/---------------------------------------------- makefile - 1/95 ----------
  3. #/-------------------------------------------------------------------------
  4.  
  5. !include ..\..\..\source\make.cfg
  6.  
  7. EXEC=..\exec
  8.  
  9. all : $(EXEC)\sheriff.gfx  \
  10.       $(EXEC)\parson.gfx   \
  11.       $(EXEC)\deputy.gfx   \
  12.       $(EXEC)\sadie.gfx    \
  13.       $(EXEC)\bparson.gfx  \
  14.       $(EXEC)\bdeputy.gfx  \
  15.       $(EXEC)\bsadie.gfx   \
  16.       $(EXEC)\doors.gfx    \
  17.       $(EXEC)\digits.gfx   \
  18.       $(EXEC)\options.gfx  \
  19.       $(EXEC)\pointer.gfx  \
  20.       $(EXEC)\finalscr.gfx \
  21.       $(EXEC)\sounds.sfx   \
  22.       $(EXEC)\town.pcx     \
  23.       $(EXEC)\menu.pcx     \
  24.       $(EXEC)\help.pcx     \
  25.       $(EXEC)\intro.pcx    \
  26.       $(EXEC)\options.pcx  \
  27.       $(EXEC)\shootout.xmi \
  28.       $(EXEC)\shootout.exe
  29.   echo done
  30.  
  31. $(EXEC)\finalscr.gfx : finalscr\cert1.pcx   \
  32.                finalscr\cert2.pcx   \
  33.                finalscr\shatter.pcx 
  34.     gfxmake $(EXEC)\finalscr.gfx $**
  35.  
  36. $(EXEC)\intro.pcx : gfx\intro.pcx
  37.     copy /Y gfx\intro.pcx $(EXEC)\intro.pcx
  38.  
  39. $(EXEC)\town.pcx : gfx\town.pcx
  40.     copy /Y gfx\town.pcx $(EXEC)\town.pcx
  41.  
  42. $(EXEC)\menu.pcx : gfx\menu.pcx
  43.     copy /Y gfx\menu.pcx $(EXEC)\menu.pcx
  44.  
  45. $(EXEC)\help.pcx : gfx\help.pcx
  46.     copy /Y gfx\help.pcx $(EXEC)\help.pcx
  47.  
  48. $(EXEC)\options.pcx : gfx\options.pcx
  49.     copy /Y gfx\options.pcx $(EXEC)\options.pcx
  50.  
  51. $(EXEC)\shootout.xmi : music\honkytnk.mid
  52.     midiform $(EXEC)\shootout.xmi music\honkytnk.mid
  53.  
  54. $(EXEC)\sheriff.gfx : sheriff\sheriff1.pcx \
  55.                       sheriff\sheriff2.pcx \
  56.                       sheriff\sheriff3.pcx \
  57.                       sheriff\sheriff4.pcx \
  58.                       sheriff\sheriff5.pcx \
  59.                       sheriff\sheriff6.pcx \
  60.                       sheriff\sheriff7.pcx \
  61.                       sheriff\sheriff8.pcx \
  62.                       sheriff\sheriff9.pcx \
  63.                       sheriff\sherif10.pcx \
  64.                       sheriff\sherif11.pcx \
  65.                       sheriff\sherif12.pcx \
  66.                       sheriff\sherif13.pcx \
  67.                       sheriff\sherif14.pcx \
  68.                       sheriff\sherif15.pcx \
  69.                       sheriff\sherif16.pcx \
  70.                       sheriff\sherif17.pcx \
  71.                       sheriff\sherif18.pcx \
  72.                       sheriff\sherif19.pcx \
  73.                       sheriff\sherif20.pcx \
  74.                       sheriff\sherif21.pcx \
  75.                       sheriff\sherif22.pcx \
  76.                       sheriff\sherif23.pcx \
  77.                       sheriff\sherif24.pcx \
  78.                       sheriff\sherif25.pcx \ 
  79.                       sheriff\sherif26.pcx \
  80.                       sheriff\sherif27.pcx
  81.   gfxmake $(EXEC)\sheriff.gfx @sheriff\sheriff.bld
  82.  
  83. $(EXEC)\parson.gfx : parson\parson1.pcx \
  84.                      parson\parson2.pcx \
  85.                      parson\parson3.pcx \
  86.                      parson\parson4.pcx \
  87.                      parson\parson5.pcx \
  88.                      parson\parson6.pcx \
  89.                      parson\parson7.pcx \
  90.                      parson\parson8.pcx \
  91.                      parson\parson9.pcx    \
  92.                      parson\parson10.pcx \
  93.                      parson\parson11.pcx
  94.   gfxmake $(EXEC)\parson.gfx @parson\parson.bld
  95.  
  96. $(EXEC)\bparson.gfx : bparson\bparson1.pcx \
  97.                       bparson\bparson2.pcx \
  98.                       bparson\bparson3.pcx \
  99.                       bparson\bparson4.pcx \
  100.                       bparson\bparson5.pcx \
  101.                       bparson\bparson6.pcx \
  102.                       bparson\bparson7.pcx \
  103.                       bparson\bparson8.pcx \
  104.                       bparson\bparson9.pcx
  105.   gfxmake $(EXEC)\bparson.gfx @bparson\bparson.bld
  106.  
  107. $(EXEC)\deputy.gfx : deputy\deputy1.pcx \
  108.                      deputy\deputy2.pcx \
  109.                      deputy\deputy3.pcx    \
  110.                      deputy\deputy4.pcx \
  111.                      deputy\deputy5.pcx \
  112.                      deputy\deputy6.pcx \
  113.                      deputy\deputy7.pcx \
  114.                      deputy\deputy8.pcx \
  115.                      deputy\deputy9.pcx \
  116.                      deputy\deputy10.pcx \
  117.                      deputy\deputy11.pcx
  118.   gfxmake $(EXEC)\deputy.gfx @deputy\deputy.bld
  119.  
  120. $(EXEC)\bdeputy.gfx : bdeputy\bdeputy1.pcx \
  121.                       bdeputy\bdeputy2.pcx \
  122.                       bdeputy\bdeputy3.pcx \
  123.                       bdeputy\bdeputy4.pcx \
  124.                       bdeputy\bdeputy5.pcx \
  125.                       bdeputy\bdeputy6.pcx \
  126.                       bdeputy\bdeputy7.pcx \
  127.                       bdeputy\bdeputy8.pcx \
  128.                       bdeputy\bdeputy9.pcx
  129.   gfxmake $(EXEC)\bdeputy.gfx @bdeputy\bdeputy.bld
  130.  
  131. $(EXEC)\sadie.gfx : sadie\sadie1.pcx \
  132.             sadie\sadie2.pcx \
  133.                     sadie\sadie3.pcx \
  134.                     sadie\sadie4.pcx \
  135.             sadie\sadie5.pcx \
  136.             sadie\sadie6.pcx \
  137.             sadie\sadie7.pcx \
  138.             sadie\sadie8.pcx \
  139.             sadie\sadie9.pcx \
  140.             sadie\sadie10.pcx \
  141.             sadie\sadie11.pcx
  142.   gfxmake $(EXEC)\sadie.gfx @sadie\sadie.bld
  143.  
  144. $(EXEC)\bsadie.gfx : bsadie\bsadie1.pcx \
  145.              bsadie\bsadie2.pcx \
  146.                      bsadie\bsadie3.pcx \
  147.                      bsadie\bsadie4.pcx \
  148.              bsadie\bsadie5.pcx \
  149.              bsadie\bsadie6.pcx \
  150.              bsadie\bsadie7.pcx \
  151.              bsadie\bsadie8.pcx \
  152.              bsadie\bsadie9.pcx
  153.   gfxmake $(EXEC)\bsadie.gfx @bsadie\bsadie.bld
  154.  
  155. $(EXEC)\doors.gfx : doors\door1.pcx \
  156.             doors\door2.pcx \
  157.                     doors\door3.pcx
  158.   gfxmake $(EXEC)\doors.gfx $**
  159.  
  160. $(EXEC)\digits.gfx : digits\zero.pcx  \
  161.                      digits\one.pcx   \
  162.                      digits\two.pcx   \
  163.                      digits\three.pcx \
  164.                      digits\four.pcx  \
  165.                      digits\five.pcx  \
  166.                      digits\six.pcx
  167.   gfxmake $(EXEC)\digits.gfx @digits\digits.bld
  168.  
  169. $(EXEC)\options.gfx : options\minus.pcx  \
  170.               options\plus.pcx
  171.   gfxmake $(EXEC)\options.gfx $**
  172.  
  173. $(EXEC)\pointer.gfx : pointer\bullet.pcx
  174.   gfxmake $(EXEC)\pointer.gfx $**
  175.  
  176. $(EXEC)\sounds.sfx :     sfx\shot.voc     \
  177.             sfx\click.voc     \
  178.             sfx\thump.voc     \
  179.             sfx\shotgun.voc     \
  180.             sfx\applaud.voc     \
  181.             sfx\housdoor.voc \
  182.             sfx\jaildoor.voc \
  183.             sfx\bardoor.voc     \
  184.             sfx\glass.voc
  185.   sfxmake $(EXEC)\sounds.sfx @sfx\sfx.bld
  186.  
  187. $(EXEC)\shootout.exe : main.obj     \
  188.                        shootout.obj \
  189.                        sheriff.obj  \
  190.                        bitpart.obj  \
  191.                        badguy.obj   \
  192.                        options.obj  \
  193.                        menu.obj     \
  194.                        pointer.obj  \
  195.                        doors.obj    \
  196.                        $(THXLIB)
  197.     $(LINK) @shootout.lnk,$(EXEC)\shootout,, $(FGLIB) $(THXLIB) $(CLIB)
  198. !if $d(FGLITE)
  199.     echo > $(EXEC)\sh.bat $(FASTGRAF)\fgdriver
  200.     echo >> $(EXEC)\sh.bat shootout
  201.     echo >> $(EXEC)\sh.bat $(FASTGRAF)\fgdriver /U
  202. !endif
  203.  
  204.