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

  1.  
  2. !include ..\..\..\source\make.cfg
  3.  
  4. EXEC=..\exec
  5.  
  6. all  :  $(EXEC)\ttt.exe \
  7.         $(EXEC)\ttt.pcx \
  8.         $(EXEC)\ttt.gfx \
  9.         $(EXEC)\ttt.sfx
  10.   echo done
  11.  
  12. $(EXEC)\ttt.gfx : gfx\x.pcx      \
  13.                   gfx\o.pcx      \
  14.                   gfx\horiz.pcx  \
  15.                   gfx\vert.pcx   \
  16.                   gfx\slant1.pcx \
  17.                   gfx\slant2.pcx
  18.   gfxmake $(EXEC)\ttt.gfx $**
  19.  
  20. $(EXEC)\ttt.sfx : sfx\iwin.voc     \
  21.                   sfx\youwin.voc   \
  22.                   sfx\tie.voc      \
  23.                   sfx\notthere.voc \
  24.                   sfx\hmm.voc      \
  25.                   sfx\ohno.voc     \
  26.                   sfx\nowwhat.voc
  27.   sfxmake $(EXEC)\ttt.sfx $**
  28.  
  29. $(EXEC)\ttt.pcx : gfx\ttt.pcx
  30.     copy gfx\ttt.pcx $(EXEC)\ttt.pcx
  31.  
  32. $(EXEC)\ttt.exe : main.obj ttt.obj piece.obj $(THXLIB)
  33.     $(LINK) main ttt piece,$(EXEC)\ttt,, $(FGLIB) $(THXLIB) $(CLIB)
  34. !if $d(FGLITE)
  35.     echo > $(EXEC)\tt.bat $(FASTGRAF)\fgdriver
  36.     echo >> $(EXEC)\tt.bat ttt
  37.     echo >> $(EXEC)\tt.bat $(FASTGRAF)\fgdriver /U
  38. !endif
  39.  
  40.  
  41.