MEM.MAK 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221
  1. #
  2. # Command & Conquer Red Alert(tm)
  3. # Copyright 2025 Electronic Arts Inc.
  4. #
  5. # This program is free software: you can redistribute it and/or modify
  6. # it under the terms of the GNU General Public License as published by
  7. # the Free Software Foundation, either version 3 of the License, or
  8. # (at your option) any later version.
  9. #
  10. # This program is distributed in the hope that it will be useful,
  11. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. # GNU General Public License for more details.
  14. #
  15. # You should have received a copy of the GNU General Public License
  16. # along with this program. If not, see <http://www.gnu.org/licenses/>.
  17. #
  18. # Microsoft Visual C++ Generated NMAKE File, Format Version 2.00
  19. # ** DO NOT EDIT **
  20. # TARGTYPE "Win32 (x86) Static Library" 0x0104
  21. !IF "$(CFG)" == ""
  22. CFG=Win32 Debug
  23. !MESSAGE No configuration specified. Defaulting to Win32 Debug.
  24. !ENDIF
  25. !IF "$(CFG)" != "Win32 Release" && "$(CFG)" != "Win32 Debug"
  26. !MESSAGE Invalid configuration "$(CFG)" specified.
  27. !MESSAGE You can specify a configuration when running NMAKE on this makefile
  28. !MESSAGE by defining the macro CFG on the command line. For example:
  29. !MESSAGE
  30. !MESSAGE NMAKE /f "mem.mak" CFG="Win32 Debug"
  31. !MESSAGE
  32. !MESSAGE Possible choices for configuration are:
  33. !MESSAGE
  34. !MESSAGE "Win32 Release" (based on "Win32 (x86) Static Library")
  35. !MESSAGE "Win32 Debug" (based on "Win32 (x86) Static Library")
  36. !MESSAGE
  37. !ERROR An invalid configuration is specified.
  38. !ENDIF
  39. ################################################################################
  40. # Begin Project
  41. # PROP Target_Last_Scanned "Win32 Debug"
  42. CPP=cl.exe
  43. !IF "$(CFG)" == "Win32 Release"
  44. # PROP BASE Use_MFC 0
  45. # PROP BASE Use_Debug_Libraries 0
  46. # PROP BASE Output_Dir "WinRel"
  47. # PROP BASE Intermediate_Dir "WinRel"
  48. # PROP Use_MFC 0
  49. # PROP Use_Debug_Libraries 0
  50. # PROP Output_Dir "WinRel"
  51. # PROP Intermediate_Dir "WinRel"
  52. OUTDIR=.\WinRel
  53. INTDIR=.\WinRel
  54. ALL : $(OUTDIR)/mem.lib $(OUTDIR)/mem.bsc
  55. $(OUTDIR) :
  56. if not exist $(OUTDIR)/nul mkdir $(OUTDIR)
  57. # ADD BASE CPP /nologo /W3 /GX /YX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /FR /c
  58. # ADD CPP /nologo /W3 /GX /YX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /FR /c
  59. CPP_PROJ=/nologo /W3 /GX /YX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS"\
  60. /FR$(INTDIR)/ /Fp$(OUTDIR)/"mem.pch" /Fo$(INTDIR)/ /c
  61. CPP_OBJS=.\WinRel/
  62. BSC32=bscmake.exe
  63. # ADD BASE BSC32 /nologo
  64. # ADD BSC32 /nologo
  65. BSC32_FLAGS=/nologo /o$(OUTDIR)/"mem.bsc"
  66. BSC32_SBRS= \
  67. $(INTDIR)/NEWDEL.SBR \
  68. $(INTDIR)/ALLOC.SBR \
  69. $(INTDIR)/MEM.SBR
  70. $(OUTDIR)/mem.bsc : $(OUTDIR) $(BSC32_SBRS)
  71. $(BSC32) @<<
  72. $(BSC32_FLAGS) $(BSC32_SBRS)
  73. <<
  74. LIB32=lib.exe
  75. # ADD BASE LIB32 /NOLOGO
  76. # ADD LIB32 /NOLOGO
  77. LIB32_FLAGS=/NOLOGO /OUT:$(OUTDIR)\"mem.lib"
  78. DEF_FLAGS=
  79. DEF_FILE=
  80. LIB32_OBJS= \
  81. $(INTDIR)/NEWDEL.OBJ \
  82. $(INTDIR)/ALLOC.OBJ \
  83. $(INTDIR)/MEM.OBJ \
  84. .\MEM_COPY.OBJ
  85. $(OUTDIR)/mem.lib : $(OUTDIR) $(DEF_FILE) $(LIB32_OBJS)
  86. $(LIB32) @<<
  87. $(LIB32_FLAGS) $(DEF_FLAGS) $(LIB32_OBJS)
  88. <<
  89. !ELSEIF "$(CFG)" == "Win32 Debug"
  90. # PROP BASE Use_MFC 0
  91. # PROP BASE Use_Debug_Libraries 1
  92. # PROP BASE Output_Dir "WinDebug"
  93. # PROP BASE Intermediate_Dir "WinDebug"
  94. # PROP Use_MFC 0
  95. # PROP Use_Debug_Libraries 1
  96. # PROP Output_Dir "WinDebug"
  97. # PROP Intermediate_Dir "WinDebug"
  98. OUTDIR=.\WinDebug
  99. INTDIR=.\WinDebug
  100. ALL : $(OUTDIR)/mem.lib $(OUTDIR)/mem.bsc
  101. $(OUTDIR) :
  102. if not exist $(OUTDIR)/nul mkdir $(OUTDIR)
  103. # ADD BASE CPP /nologo /W3 /GX /Z7 /YX /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /FR /c
  104. # ADD CPP /nologo /W3 /GX /Z7 /YX /Od /I "c:\wwlib32\include" /D "_DEBUG" /D "_WINDOWS" /FR /c
  105. CPP_PROJ=/nologo /W3 /GX /Z7 /YX /Od /I "c:\wwlib32\include" /D "_DEBUG" /D\
  106. "_WINDOWS" /FR$(INTDIR)/ /Fp$(OUTDIR)/"mem.pch" /Fo$(INTDIR)/ /c
  107. CPP_OBJS=.\WinDebug/
  108. BSC32=bscmake.exe
  109. # ADD BASE BSC32 /nologo
  110. # ADD BSC32 /nologo
  111. BSC32_FLAGS=/nologo /o$(OUTDIR)/"mem.bsc"
  112. BSC32_SBRS= \
  113. $(INTDIR)/NEWDEL.SBR \
  114. $(INTDIR)/ALLOC.SBR \
  115. $(INTDIR)/MEM.SBR
  116. $(OUTDIR)/mem.bsc : $(OUTDIR) $(BSC32_SBRS)
  117. $(BSC32) @<<
  118. $(BSC32_FLAGS) $(BSC32_SBRS)
  119. <<
  120. LIB32=lib.exe
  121. # ADD BASE LIB32 /NOLOGO
  122. # ADD LIB32 /NOLOGO
  123. LIB32_FLAGS=/NOLOGO /OUT:$(OUTDIR)\"mem.lib"
  124. DEF_FLAGS=
  125. DEF_FILE=
  126. LIB32_OBJS= \
  127. $(INTDIR)/NEWDEL.OBJ \
  128. $(INTDIR)/ALLOC.OBJ \
  129. $(INTDIR)/MEM.OBJ \
  130. .\MEM_COPY.OBJ
  131. $(OUTDIR)/mem.lib : $(OUTDIR) $(DEF_FILE) $(LIB32_OBJS)
  132. $(LIB32) @<<
  133. $(LIB32_FLAGS) $(DEF_FLAGS) $(LIB32_OBJS)
  134. <<
  135. !ENDIF
  136. .c{$(CPP_OBJS)}.obj:
  137. $(CPP) $(CPP_PROJ) $<
  138. .cpp{$(CPP_OBJS)}.obj:
  139. $(CPP) $(CPP_PROJ) $<
  140. .cxx{$(CPP_OBJS)}.obj:
  141. $(CPP) $(CPP_PROJ) $<
  142. ################################################################################
  143. # Begin Group "Source Files"
  144. ################################################################################
  145. # Begin Source File
  146. SOURCE=.\MEM_COPY.ASM
  147. # End Source File
  148. ################################################################################
  149. # Begin Source File
  150. SOURCE=.\NEWDEL.CPP
  151. DEP_NEWDE=\
  152. .\WWMEM.H\
  153. \wwlib32\include\wwstd.h\
  154. .\MEMFLAG.H
  155. $(INTDIR)/NEWDEL.OBJ : $(SOURCE) $(DEP_NEWDE) $(INTDIR)
  156. # End Source File
  157. ################################################################################
  158. # Begin Source File
  159. SOURCE=.\ALLOC.CPP
  160. DEP_ALLOC=\
  161. .\WWMEM.H\
  162. \wwlib32\include\mono.h\
  163. \wwlib32\include\wwstd.h\
  164. .\MEMFLAG.H
  165. $(INTDIR)/ALLOC.OBJ : $(SOURCE) $(DEP_ALLOC) $(INTDIR)
  166. # End Source File
  167. ################################################################################
  168. # Begin Source File
  169. SOURCE=.\MEM.CPP
  170. DEP_MEM_C=\
  171. \wwlib32\include\wwstd.h\
  172. .\WWMEM.H\
  173. \wwlib32\include\timer.h\
  174. .\MEMFLAG.H
  175. $(INTDIR)/MEM.OBJ : $(SOURCE) $(DEP_MEM_C) $(INTDIR)
  176. # End Source File
  177. ################################################################################
  178. # Begin Source File
  179. SOURCE=.\MEM_COPY.OBJ
  180. # End Source File
  181. # End Group
  182. # End Project
  183. ################################################################################