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.

189 lines
4.4 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. !IF "$(CFG)" == "Helloapp - Win32 Release"
  26. OUTDIR=.\Release
  27. INTDIR=.\Release
  28. # Begin Custom Macros
  29. OutDir=.\Release
  30. # End Custom Macros
  31. ALL : "$(OUTDIR)\helloapp.exe"
  32. CLEAN :
  33. -@erase "$(INTDIR)\helloapp.obj"
  34. -@erase "$(INTDIR)\vc60.idb"
  35. -@erase "$(OUTDIR)\helloapp.exe"
  36. "$(OUTDIR)" :
  37. if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
  38. CPP=cl.exe
  39. CPP_PROJ=/nologo /MT /W3 /GX /O2 /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "_MBCS" /D "_UNICODE" /Fp"$(INTDIR)\helloapp.pch" /YX /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c
  40. .c{$(INTDIR)}.obj::
  41. $(CPP) @<<
  42. $(CPP_PROJ) $<
  43. <<
  44. .cpp{$(INTDIR)}.obj::
  45. $(CPP) @<<
  46. $(CPP_PROJ) $<
  47. <<
  48. .cxx{$(INTDIR)}.obj::
  49. $(CPP) @<<
  50. $(CPP_PROJ) $<
  51. <<
  52. .c{$(INTDIR)}.sbr::
  53. $(CPP) @<<
  54. $(CPP_PROJ) $<
  55. <<
  56. .cpp{$(INTDIR)}.sbr::
  57. $(CPP) @<<
  58. $(CPP_PROJ) $<
  59. <<
  60. .cxx{$(INTDIR)}.sbr::
  61. $(CPP) @<<
  62. $(CPP_PROJ) $<
  63. <<
  64. MTL=midl.exe
  65. MTL_PROJ=/nologo /D "NDEBUG" /mktyplib203 /win32
  66. RSC=rc.exe
  67. BSC32=bscmake.exe
  68. BSC32_FLAGS=/nologo /o"$(OUTDIR)\helloapp.bsc"
  69. BSC32_SBRS= \
  70. LINK32=link.exe
  71. LINK32_FLAGS=c:\nt\public\sdk\lib\i386\unicows.lib kernel32.lib gdi32.lib user32.lib ole32.lib oleaut32.lib oledlg.lib shell32.lib uuid.lib comctl32.lib comdlg32.lib advapi32.lib winspool.lib uafxcw.lib libcmt.lib /nologo /entry:"wWinMainCRTStartup" /subsystem:windows /incremental:no /pdb:"$(OUTDIR)\helloapp.pdb" /machine:I386 /nodefaultlib /out:"$(OUTDIR)\helloapp.exe"
  72. LINK32_OBJS= \
  73. "$(INTDIR)\helloapp.obj"
  74. "$(OUTDIR)\helloapp.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
  75. $(LINK32) @<<
  76. $(LINK32_FLAGS) $(LINK32_OBJS)
  77. <<
  78. !ELSEIF "$(CFG)" == "Helloapp - Win32 Debug"
  79. OUTDIR=.\Debug
  80. INTDIR=.\Debug
  81. # Begin Custom Macros
  82. OutDir=.\Debug
  83. # End Custom Macros
  84. ALL : "$(OUTDIR)\helloapp.exe"
  85. CLEAN :
  86. -@erase "$(INTDIR)\helloapp.obj"
  87. -@erase "$(INTDIR)\vc60.idb"
  88. -@erase "$(INTDIR)\vc60.pdb"
  89. -@erase "$(OUTDIR)\helloapp.exe"
  90. -@erase "$(OUTDIR)\helloapp.ilk"
  91. -@erase "$(OUTDIR)\helloapp.pdb"
  92. "$(OUTDIR)" :
  93. if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
  94. CPP=cl.exe
  95. CPP_PROJ=/nologo /MTd /W3 /Gm /GX /ZI /Od /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D "_MBCS" /D "_UNICODE" /Fp"$(INTDIR)\helloapp.pch" /YX /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c
  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. MTL=midl.exe
  121. MTL_PROJ=/nologo /D "_DEBUG" /mktyplib203 /win32
  122. RSC=rc.exe
  123. BSC32=bscmake.exe
  124. BSC32_FLAGS=/nologo /o"$(OUTDIR)\helloapp.bsc"
  125. BSC32_SBRS= \
  126. LINK32=link.exe
  127. LINK32_FLAGS=c:\nt\public\sdk\lib\i386\unicows.lib kernel32.lib gdi32.lib user32.lib ole32.lib oleaut32.lib oledlg.lib shell32.lib uuid.lib comctl32.lib comdlg32.lib advapi32.lib winspool.lib uafxcwd.lib libcmtd.lib /nologo /entry:"wWinMainCRTStartup" /subsystem:windows /incremental:yes /pdb:"$(OUTDIR)\helloapp.pdb" /debug /machine:I386 /nodefaultlib /out:"$(OUTDIR)\helloapp.exe"
  128. LINK32_OBJS= \
  129. "$(INTDIR)\helloapp.obj"
  130. "$(OUTDIR)\helloapp.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
  131. $(LINK32) @<<
  132. $(LINK32_FLAGS) $(LINK32_OBJS)
  133. <<
  134. !ENDIF
  135. !IF "$(NO_EXTERNAL_DEPS)" != "1"
  136. !IF EXISTS("helloapp.dep")
  137. !INCLUDE "helloapp.dep"
  138. !ELSE
  139. !MESSAGE Warning: cannot find "helloapp.dep"
  140. !ENDIF
  141. !ENDIF
  142. !IF "$(CFG)" == "Helloapp - Win32 Release" || "$(CFG)" == "Helloapp - Win32 Debug"
  143. SOURCE=.\helloapp.cpp
  144. "$(INTDIR)\helloapp.obj" : $(SOURCE) "$(INTDIR)"
  145. !ENDIF