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.

197 lines
4.7 KiB

  1. # Microsoft Developer Studio Generated NMAKE File, Based on hello.dsp
  2. !IF "$(CFG)" == ""
  3. CFG=Hello - Win32 Release
  4. !MESSAGE No configuration specified. Defaulting to Hello - Win32 Release.
  5. !ENDIF
  6. !IF "$(CFG)" != "Hello - Win32 Release" && "$(CFG)" != "Hello - 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 "hello.mak" CFG="Hello - Win32 Release"
  12. !MESSAGE
  13. !MESSAGE Possible choices for configuration are:
  14. !MESSAGE
  15. !MESSAGE "Hello - Win32 Release" (based on "Win32 (x86) Application")
  16. !MESSAGE "Hello - 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)" == "Hello - Win32 Release"
  29. OUTDIR=.\Release
  30. INTDIR=.\Release
  31. # Begin Custom Macros
  32. OutDir=.\.\Release
  33. # End Custom Macros
  34. ALL : "$(OUTDIR)\hello.exe"
  35. CLEAN :
  36. -@erase "$(INTDIR)\hello.obj"
  37. -@erase "$(INTDIR)\hello.pch"
  38. -@erase "$(INTDIR)\hello.res"
  39. -@erase "$(INTDIR)\stdafx.obj"
  40. -@erase "$(INTDIR)\vc60.idb"
  41. -@erase "$(OUTDIR)\hello.exe"
  42. "$(OUTDIR)" :
  43. if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
  44. CPP_PROJ=/nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /Fp"$(INTDIR)\hello.pch" /Yu"Stdafx.h" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c
  45. MTL_PROJ=/nologo /D "NDEBUG" /mktyplib203 /win32
  46. RSC_PROJ=/l 0x409 /fo"$(INTDIR)\hello.res" /d "NDEBUG" /d "_AFXDLL"
  47. BSC32=bscmake.exe
  48. BSC32_FLAGS=/nologo /o"$(OUTDIR)\hello.bsc"
  49. BSC32_SBRS= \
  50. LINK32=link.exe
  51. LINK32_FLAGS=/nologo /subsystem:windows /incremental:no /pdb:"$(OUTDIR)\hello.pdb" /machine:I386 /out:"$(OUTDIR)\hello.exe"
  52. LINK32_OBJS= \
  53. "$(INTDIR)\hello.obj" \
  54. "$(INTDIR)\stdafx.obj" \
  55. "$(INTDIR)\hello.res"
  56. "$(OUTDIR)\hello.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
  57. $(LINK32) @<<
  58. $(LINK32_FLAGS) $(LINK32_OBJS)
  59. <<
  60. !ELSEIF "$(CFG)" == "Hello - Win32 Debug"
  61. OUTDIR=.\Debug
  62. INTDIR=.\Debug
  63. # Begin Custom Macros
  64. OutDir=.\.\Debug
  65. # End Custom Macros
  66. ALL : "$(OUTDIR)\hello.exe"
  67. CLEAN :
  68. -@erase "$(INTDIR)\hello.obj"
  69. -@erase "$(INTDIR)\hello.pch"
  70. -@erase "$(INTDIR)\hello.res"
  71. -@erase "$(INTDIR)\stdafx.obj"
  72. -@erase "$(INTDIR)\vc60.idb"
  73. -@erase "$(INTDIR)\vc60.pdb"
  74. -@erase "$(OUTDIR)\hello.exe"
  75. -@erase "$(OUTDIR)\hello.ilk"
  76. -@erase "$(OUTDIR)\hello.pdb"
  77. "$(OUTDIR)" :
  78. if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
  79. CPP_PROJ=/nologo /MDd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /Fp"$(INTDIR)\hello.pch" /Yu"Stdafx.h" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c
  80. MTL_PROJ=/nologo /D "_DEBUG" /mktyplib203 /win32
  81. RSC_PROJ=/l 0x409 /fo"$(INTDIR)\hello.res" /d "_DEBUG" /d "_AFXDLL"
  82. BSC32=bscmake.exe
  83. BSC32_FLAGS=/nologo /o"$(OUTDIR)\hello.bsc"
  84. BSC32_SBRS= \
  85. LINK32=link.exe
  86. LINK32_FLAGS=/nologo /subsystem:windows /incremental:yes /pdb:"$(OUTDIR)\hello.pdb" /debug /machine:I386 /out:"$(OUTDIR)\hello.exe"
  87. LINK32_OBJS= \
  88. "$(INTDIR)\hello.obj" \
  89. "$(INTDIR)\stdafx.obj" \
  90. "$(INTDIR)\hello.res"
  91. "$(OUTDIR)\hello.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
  92. $(LINK32) @<<
  93. $(LINK32_FLAGS) $(LINK32_OBJS)
  94. <<
  95. !ENDIF
  96. .c{$(INTDIR)}.obj::
  97. $(CPP) @<<
  98. $(CPP_PROJ) $<
  99. <<
  100. .cpp{$(INTDIR)}.obj::
  101. $(CPP) @<<
  102. $(CPP_PROJ) $<
  103. <<
  104. .cxx{$(INTDIR)}.obj::
  105. $(CPP) @<<
  106. $(CPP_PROJ) $<
  107. <<
  108. .c{$(INTDIR)}.sbr::
  109. $(CPP) @<<
  110. $(CPP_PROJ) $<
  111. <<
  112. .cpp{$(INTDIR)}.sbr::
  113. $(CPP) @<<
  114. $(CPP_PROJ) $<
  115. <<
  116. .cxx{$(INTDIR)}.sbr::
  117. $(CPP) @<<
  118. $(CPP_PROJ) $<
  119. <<
  120. !IF "$(NO_EXTERNAL_DEPS)" != "1"
  121. !IF EXISTS("hello.dep")
  122. !INCLUDE "hello.dep"
  123. !ELSE
  124. !MESSAGE Warning: cannot find "hello.dep"
  125. !ENDIF
  126. !ENDIF
  127. !IF "$(CFG)" == "Hello - Win32 Release" || "$(CFG)" == "Hello - Win32 Debug"
  128. SOURCE=.\hello.cpp
  129. "$(INTDIR)\hello.obj" : $(SOURCE) "$(INTDIR)" "$(INTDIR)\hello.pch"
  130. SOURCE=.\hello.rc
  131. "$(INTDIR)\hello.res" : $(SOURCE) "$(INTDIR)"
  132. $(RSC) $(RSC_PROJ) $(SOURCE)
  133. SOURCE=.\stdafx.cpp
  134. !IF "$(CFG)" == "Hello - Win32 Release"
  135. CPP_SWITCHES=/nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /Fp"$(INTDIR)\hello.pch" /Yc /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c
  136. "$(INTDIR)\stdafx.obj" "$(INTDIR)\hello.pch" : $(SOURCE) "$(INTDIR)"
  137. $(CPP) @<<
  138. $(CPP_SWITCHES) $(SOURCE)
  139. <<
  140. !ELSEIF "$(CFG)" == "Hello - Win32 Debug"
  141. CPP_SWITCHES=/nologo /MDd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /Fp"$(INTDIR)\hello.pch" /Yc /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c
  142. "$(INTDIR)\stdafx.obj" "$(INTDIR)\hello.pch" : $(SOURCE) "$(INTDIR)"
  143. $(CPP) @<<
  144. $(CPP_SWITCHES) $(SOURCE)
  145. <<
  146. !ENDIF
  147. !ENDIF