home *** CD-ROM | disk | FTP | other *** search
/ The Net: Ultimate Internet Guide / WWLCD1.ISO / pc / directx2 / sdk / samples / iklowns / makefile < prev    next >
Encoding:
Makefile  |  1996-05-28  |  882 b   |  35 lines

  1. # Master make file.  Creates all necessary sub-components
  2. # of the Immortal Klowns project, while allowing those components
  3. # to be compiled w/VC
  4.  
  5. !IF ("$(CFG)" == "") || ("$(CFG)" == "Win32 Debug")
  6. CFG=Win32 Debug
  7. TARGDIR=windebug
  8. TARGET=debug
  9. !ELSE
  10. TARGDIR=winrel
  11. TARGET=retail
  12. !ENDIF
  13.  
  14. default:
  15.     cd ..\cgutil
  16.     nmake $(MISC) /nologo $(TARGET)
  17.     cd ..\iklowns
  18.     nmake $(MISC) /nologo /f splash.mak CFG="$(CFG)"
  19.     copy  $(TARGDIR)\splash.exe iklowns.exe
  20.     nmake $(MISC) /nologo /f iklowns.mak CFG="$(CFG)"
  21.         copy $(TARGDIR)\iklowns.ovl iklowns.ovl
  22.     nmake $(MISC) /nologo /f cgkrusty.mak CFG="$(CFG)"
  23.     copy $(TARGDIR)\krusty.dll krusty.dll
  24.     nmake $(MISC) /nologo /f misc.mak CFG="$(CFG)"
  25.     copy $(TARGDIR)\misc.dll misc.dll
  26.  
  27. all: debug retail
  28.  
  29. retail:
  30.     nmake CFG="Win32 Release"
  31.  
  32. debug:
  33.     nmake CFG="Win32 Debug"
  34.  
  35.