Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

155 lines
3.5 KiB

  1. # Microsoft Developer Studio Generated NMAKE File, Based on helloapp.dsp
  2. !IF "$(CFG)" == ""
  3. CFG=Helloapp - Win32 Release
  4. !MESSAGE No configuration specified. Defaulting to Helloapp - Win32 Release.
  5. !ENDIF
  6. !IF "$(CFG)" != "Helloapp - Win32 Release" && "$(CFG)" != "Helloapp - Win32 Debug"
  7. !MESSAGE Invalid configuration "$(CFG)" specified.
  8. !MESSAGE You can specify a configuration when running NMAKE
  9. !MESSAGE by defining the macro CFG on the command line. For example:
  10. !MESSAGE
  11. !MESSAGE NMAKE /f "helloapp.mak" CFG="Helloapp - Win32 Release"
  12. !MESSAGE
  13. !MESSAGE Possible choices for configuration are:
  14. !MESSAGE
  15. !MESSAGE "Helloapp - Win32 Release" (based on "Win32 (x86) Application")
  16. !MESSAGE "Helloapp - Win32 Debug" (based on "Win32 (x86) Application")
  17. !MESSAGE
  18. !ERROR An invalid configuration is specified.
  19. !ENDIF
  20. !IF "$(OS)" == "Windows_NT"
  21. NULL=
  22. !ELSE
  23. NULL=nul
  24. !ENDIF
  25. CPP=cl.exe
  26. MTL=midl.exe
  27. RSC=rc.exe
  28. !IF "$(CFG)" == "Helloapp - Win32 Release"
  29. OUTDIR=.\Release
  30. INTDIR=.\Release
  31. # Begin Custom Macros
  32. OutDir=.\.\Release
  33. # End Custom Macros
  34. ALL : "$(OUTDIR)\helloapp.exe"
  35. CLEAN :
  36. -@erase "$(INTDIR)\helloapp.obj"
  37. -@erase "$(INTDIR)\vc60.idb"
  38. -@erase "$(OUTDIR)\helloapp.exe"
  39. "$(OUTDIR)" :
  40. if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
  41. CPP_PROJ=/nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /Fp"$(INTDIR)\helloapp.pch" /YX /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c
  42. MTL_PROJ=/nologo /D "NDEBUG" /mktyplib203 /win32
  43. BSC32=bscmake.exe
  44. BSC32_FLAGS=/nologo /o"$(OUTDIR)\helloapp.bsc"
  45. BSC32_SBRS= \
  46. LINK32=link.exe
  47. LINK32_FLAGS=/nologo /subsystem:windows /incremental:no /pdb:"$(OUTDIR)\helloapp.pdb" /machine:I386 /out:"$(OUTDIR)\helloapp.exe"
  48. LINK32_OBJS= \
  49. "$(INTDIR)\helloapp.obj"
  50. "$(OUTDIR)\helloapp.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
  51. $(LINK32) @<<
  52. $(LINK32_FLAGS) $(LINK32_OBJS)
  53. <<
  54. !ELSEIF "$(CFG)" == "Helloapp - Win32 Debug"
  55. OUTDIR=.\Debug
  56. INTDIR=.\Debug
  57. # Begin Custom Macros
  58. OutDir=.\.\Debug
  59. # End Custom Macros
  60. ALL : "$(OUTDIR)\helloapp.exe"
  61. CLEAN :
  62. -@erase "$(INTDIR)\helloapp.obj"
  63. -@erase "$(INTDIR)\vc60.idb"
  64. -@erase "$(INTDIR)\vc60.pdb"
  65. -@erase "$(OUTDIR)\helloapp.exe"
  66. -@erase "$(OUTDIR)\helloapp.ilk"
  67. -@erase "$(OUTDIR)\helloapp.pdb"
  68. "$(OUTDIR)" :
  69. if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
  70. CPP_PROJ=/nologo /MDd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /Fp"$(INTDIR)\helloapp.pch" /YX /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c
  71. MTL_PROJ=/nologo /D "_DEBUG" /mktyplib203 /win32
  72. BSC32=bscmake.exe
  73. BSC32_FLAGS=/nologo /o"$(OUTDIR)\helloapp.bsc"
  74. BSC32_SBRS= \
  75. LINK32=link.exe
  76. LINK32_FLAGS=/nologo /subsystem:windows /incremental:yes /pdb:"$(OUTDIR)\helloapp.pdb" /debug /machine:I386 /out:"$(OUTDIR)\helloapp.exe"
  77. LINK32_OBJS= \
  78. "$(INTDIR)\helloapp.obj"
  79. "$(OUTDIR)\helloapp.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
  80. $(LINK32) @<<
  81. $(LINK32_FLAGS) $(LINK32_OBJS)
  82. <<
  83. !ENDIF
  84. .c{$(INTDIR)}.obj::
  85. $(CPP) @<<
  86. $(CPP_PROJ) $<
  87. <<
  88. .cpp{$(INTDIR)}.obj::
  89. $(CPP) @<<
  90. $(CPP_PROJ) $<
  91. <<
  92. .cxx{$(INTDIR)}.obj::
  93. $(CPP) @<<
  94. $(CPP_PROJ) $<
  95. <<
  96. .c{$(INTDIR)}.sbr::
  97. $(CPP) @<<
  98. $(CPP_PROJ) $<
  99. <<
  100. .cpp{$(INTDIR)}.sbr::
  101. $(CPP) @<<
  102. $(CPP_PROJ) $<
  103. <<
  104. .cxx{$(INTDIR)}.sbr::
  105. $(CPP) @<<
  106. $(CPP_PROJ) $<
  107. <<
  108. !IF "$(NO_EXTERNAL_DEPS)" != "1"
  109. !IF EXISTS("helloapp.dep")
  110. !INCLUDE "helloapp.dep"
  111. !ELSE
  112. !MESSAGE Warning: cannot find "helloapp.dep"
  113. !ENDIF
  114. !ENDIF
  115. !IF "$(CFG)" == "Helloapp - Win32 Release" || "$(CFG)" == "Helloapp - Win32 Debug"
  116. SOURCE=.\helloapp.cpp
  117. "$(INTDIR)\helloapp.obj" : $(SOURCE) "$(INTDIR)"
  118. !ENDIF