home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / pc / WINTUT2.ZIP / Tut2 / Demo2.mak < prev    next >
Encoding:
Makefile  |  1997-04-03  |  3.0 KB  |  124 lines

  1. # Microsoft Visual C++ generated build script - Do not modify
  2.  
  3. PROJ = DEMO2
  4. DEBUG = 0
  5. PROGTYPE = 0
  6. CALLER = 
  7. ARGS = 
  8. DLLS = 
  9. D_RCDEFINES = -d_DEBUG
  10. R_RCDEFINES = -dNDEBUG
  11. ORIGIN = MSVC
  12. ORIGIN_VER = 1.00
  13. PROJPATH = D:\TEXTFI~1\MINE\WINTUT\TUT2\
  14. USEMFC = 0
  15. CC = cl
  16. CPP = cl
  17. CXX = cl
  18. CCREATEPCHFLAG = 
  19. CPPCREATEPCHFLAG = 
  20. CUSEPCHFLAG = 
  21. CPPUSEPCHFLAG = 
  22. FIRSTC =             
  23. FIRSTCPP = DEMO2.CPP   
  24. RC = rc
  25. CFLAGS_D_WEXE = /nologo /G2 /W3 /Zi /AM /Od /D "_DEBUG" /FR /GA /Fd"DEMO.PDB"
  26. CFLAGS_R_WEXE = /nologo /W3 /AM /O1 /D "NDEBUG" /GA 
  27. LFLAGS_D_WEXE = /NOLOGO /ONERROR:NOEXE /NOD /PACKC:61440 /CO /ALIGN:16 /STACK:10240
  28. LFLAGS_R_WEXE = /NOLOGO /ONERROR:NOEXE /NOD /PACKC:61440 /ALIGN:16 /STACK:10240
  29. LIBS_D_WEXE = oldnames libw commdlg shell olecli olesvr mlibcew
  30. LIBS_R_WEXE = oldnames libw commdlg shell olecli olesvr mlibcew
  31. RCFLAGS = /nologo
  32. RESFLAGS = /nologo
  33. RUNFLAGS = 
  34. DEFFILE = DEMO2.DEF
  35. OBJS_EXT = 
  36. LIBS_EXT = 
  37. !if "$(DEBUG)" == "1"
  38. CFLAGS = $(CFLAGS_D_WEXE)
  39. LFLAGS = $(LFLAGS_D_WEXE)
  40. LIBS = $(LIBS_D_WEXE)
  41. MAPFILE = nul
  42. RCDEFINES = $(D_RCDEFINES)
  43. !else
  44. CFLAGS = $(CFLAGS_R_WEXE)
  45. LFLAGS = $(LFLAGS_R_WEXE)
  46. LIBS = $(LIBS_R_WEXE)
  47. MAPFILE = nul
  48. RCDEFINES = $(R_RCDEFINES)
  49. !endif
  50. !if [if exist MSVC.BND del MSVC.BND]
  51. !endif
  52. SBRS = DEMO2.SBR \
  53.         SPRITE.SBR
  54.  
  55.  
  56. DEMO2_DEP = d:\textfi~1\mine\wintut\tut2\stdafx.h \
  57.     d:\textfi~1\mine\wintut\tut2\demo2.h \
  58.     d:\textfi~1\mine\wintut\tut2\sprite.h \
  59.     d:\textfi~1\mine\wintut\tut2\anim.h
  60.  
  61.  
  62. DEMO2_RCDEP = d:\textfi~1\mine\wintut\tut2\res\xpic1.bmp \
  63.     d:\textfi~1\mine\wintut\tut2\res\xpic2.bmp \
  64.     d:\textfi~1\mine\wintut\tut2\res\xpic3.bmp \
  65.     d:\textfi~1\mine\wintut\tut2\res\xpic4.bmp \
  66.     d:\textfi~1\mine\wintut\tut2\res\xpic5.bmp \
  67.     d:\textfi~1\mine\wintut\tut2\res\xpic6.bmp \
  68.     d:\textfi~1\mine\wintut\tut2\res\xpic7.bmp \
  69.     d:\textfi~1\mine\wintut\tut2\res\xpic8.bmp \
  70.     d:\textfi~1\mine\wintut\tut2\res\xpic9.bmp \
  71.     d:\textfi~1\mine\wintut\tut2\res\xpic10.bmp \
  72.     d:\textfi~1\mine\wintut\tut2\res\xpic11.bmp \
  73.     d:\textfi~1\mine\wintut\tut2\res\xpic12.bmp \
  74.     d:\textfi~1\mine\wintut\tut2\res\xpic13.bmp \
  75.     d:\textfi~1\mine\wintut\tut2\res\xpic14.bmp
  76.  
  77.  
  78. SPRITE_DEP = d:\textfi~1\mine\wintut\tut2\stdafx.h \
  79.     d:\textfi~1\mine\wintut\tut2\sprite.h
  80.  
  81.  
  82. all:    $(PROJ).EXE
  83.  
  84. DEMO2.OBJ:    DEMO2.CPP $(DEMO2_DEP)
  85.     $(CPP) $(CFLAGS) $(CPPCREATEPCHFLAG) /c DEMO2.CPP
  86.  
  87. DEMO2.RES:    DEMO2.RC $(DEMO2_RCDEP)
  88.     $(RC) $(RCFLAGS) $(RCDEFINES) -r DEMO2.RC
  89.  
  90. SPRITE.OBJ:    SPRITE.CPP $(SPRITE_DEP)
  91.     $(CPP) $(CFLAGS) $(CPPUSEPCHFLAG) /c SPRITE.CPP
  92.  
  93.  
  94. $(PROJ).EXE::    DEMO2.RES
  95.  
  96. $(PROJ).EXE::    DEMO2.OBJ SPRITE.OBJ $(OBJS_EXT) $(DEFFILE)
  97.     echo >NUL @<<$(PROJ).CRF
  98. DEMO2.OBJ +
  99. SPRITE.OBJ +
  100. $(OBJS_EXT)
  101. $(PROJ).EXE
  102. $(MAPFILE)
  103. c:\msvc\lib\+
  104. c:\msvc\mfc\lib\+
  105. f:\common\lib\+
  106. $(LIBS)
  107. $(DEFFILE);
  108. <<
  109.     link $(LFLAGS) @$(PROJ).CRF
  110.     $(RC) $(RESFLAGS) DEMO2.RES $@
  111.     @copy $(PROJ).CRF MSVC.BND
  112.  
  113. $(PROJ).EXE::    DEMO2.RES
  114.     if not exist MSVC.BND     $(RC) $(RESFLAGS) DEMO2.RES $@
  115.  
  116. run: $(PROJ).EXE
  117.     $(PROJ) $(RUNFLAGS)
  118.  
  119.  
  120. $(PROJ).BSC: $(SBRS)
  121.     bscmake @<<
  122. /o$@ $(SBRS)
  123. <<
  124.