mirror of
https://github.com/electronicarts/CnC_Red_Alert.git
synced 2025-12-17 16:11:39 -05:00
Initial commit of Command & Conquer Red Alert source code.
This commit is contained in:
221
WIN32LIB/MEM/MSVC/MEM.MAK
Normal file
221
WIN32LIB/MEM/MSVC/MEM.MAK
Normal file
@@ -0,0 +1,221 @@
|
||||
#
|
||||
# Command & Conquer Red Alert(tm)
|
||||
# Copyright 2025 Electronic Arts Inc.
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
# Microsoft Visual C++ Generated NMAKE File, Format Version 2.00
|
||||
# ** DO NOT EDIT **
|
||||
|
||||
# TARGTYPE "Win32 (x86) Static Library" 0x0104
|
||||
|
||||
!IF "$(CFG)" == ""
|
||||
CFG=Win32 Debug
|
||||
!MESSAGE No configuration specified. Defaulting to Win32 Debug.
|
||||
!ENDIF
|
||||
|
||||
!IF "$(CFG)" != "Win32 Release" && "$(CFG)" != "Win32 Debug"
|
||||
!MESSAGE Invalid configuration "$(CFG)" specified.
|
||||
!MESSAGE You can specify a configuration when running NMAKE on this makefile
|
||||
!MESSAGE by defining the macro CFG on the command line. For example:
|
||||
!MESSAGE
|
||||
!MESSAGE NMAKE /f "mem.mak" CFG="Win32 Debug"
|
||||
!MESSAGE
|
||||
!MESSAGE Possible choices for configuration are:
|
||||
!MESSAGE
|
||||
!MESSAGE "Win32 Release" (based on "Win32 (x86) Static Library")
|
||||
!MESSAGE "Win32 Debug" (based on "Win32 (x86) Static Library")
|
||||
!MESSAGE
|
||||
!ERROR An invalid configuration is specified.
|
||||
!ENDIF
|
||||
|
||||
################################################################################
|
||||
# Begin Project
|
||||
# PROP Target_Last_Scanned "Win32 Debug"
|
||||
CPP=cl.exe
|
||||
|
||||
!IF "$(CFG)" == "Win32 Release"
|
||||
|
||||
# PROP BASE Use_MFC 0
|
||||
# PROP BASE Use_Debug_Libraries 0
|
||||
# PROP BASE Output_Dir "WinRel"
|
||||
# PROP BASE Intermediate_Dir "WinRel"
|
||||
# PROP Use_MFC 0
|
||||
# PROP Use_Debug_Libraries 0
|
||||
# PROP Output_Dir "WinRel"
|
||||
# PROP Intermediate_Dir "WinRel"
|
||||
OUTDIR=.\WinRel
|
||||
INTDIR=.\WinRel
|
||||
|
||||
ALL : $(OUTDIR)/mem.lib $(OUTDIR)/mem.bsc
|
||||
|
||||
$(OUTDIR) :
|
||||
if not exist $(OUTDIR)/nul mkdir $(OUTDIR)
|
||||
|
||||
# ADD BASE CPP /nologo /W3 /GX /YX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /FR /c
|
||||
# ADD CPP /nologo /W3 /GX /YX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /FR /c
|
||||
CPP_PROJ=/nologo /W3 /GX /YX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS"\
|
||||
/FR$(INTDIR)/ /Fp$(OUTDIR)/"mem.pch" /Fo$(INTDIR)/ /c
|
||||
CPP_OBJS=.\WinRel/
|
||||
BSC32=bscmake.exe
|
||||
# ADD BASE BSC32 /nologo
|
||||
# ADD BSC32 /nologo
|
||||
BSC32_FLAGS=/nologo /o$(OUTDIR)/"mem.bsc"
|
||||
BSC32_SBRS= \
|
||||
$(INTDIR)/NEWDEL.SBR \
|
||||
$(INTDIR)/ALLOC.SBR \
|
||||
$(INTDIR)/MEM.SBR
|
||||
|
||||
$(OUTDIR)/mem.bsc : $(OUTDIR) $(BSC32_SBRS)
|
||||
$(BSC32) @<<
|
||||
$(BSC32_FLAGS) $(BSC32_SBRS)
|
||||
<<
|
||||
|
||||
LIB32=lib.exe
|
||||
# ADD BASE LIB32 /NOLOGO
|
||||
# ADD LIB32 /NOLOGO
|
||||
LIB32_FLAGS=/NOLOGO /OUT:$(OUTDIR)\"mem.lib"
|
||||
DEF_FLAGS=
|
||||
DEF_FILE=
|
||||
LIB32_OBJS= \
|
||||
$(INTDIR)/NEWDEL.OBJ \
|
||||
$(INTDIR)/ALLOC.OBJ \
|
||||
$(INTDIR)/MEM.OBJ \
|
||||
.\MEM_COPY.OBJ
|
||||
|
||||
$(OUTDIR)/mem.lib : $(OUTDIR) $(DEF_FILE) $(LIB32_OBJS)
|
||||
$(LIB32) @<<
|
||||
$(LIB32_FLAGS) $(DEF_FLAGS) $(LIB32_OBJS)
|
||||
<<
|
||||
|
||||
!ELSEIF "$(CFG)" == "Win32 Debug"
|
||||
|
||||
# PROP BASE Use_MFC 0
|
||||
# PROP BASE Use_Debug_Libraries 1
|
||||
# PROP BASE Output_Dir "WinDebug"
|
||||
# PROP BASE Intermediate_Dir "WinDebug"
|
||||
# PROP Use_MFC 0
|
||||
# PROP Use_Debug_Libraries 1
|
||||
# PROP Output_Dir "WinDebug"
|
||||
# PROP Intermediate_Dir "WinDebug"
|
||||
OUTDIR=.\WinDebug
|
||||
INTDIR=.\WinDebug
|
||||
|
||||
ALL : $(OUTDIR)/mem.lib $(OUTDIR)/mem.bsc
|
||||
|
||||
$(OUTDIR) :
|
||||
if not exist $(OUTDIR)/nul mkdir $(OUTDIR)
|
||||
|
||||
# ADD BASE CPP /nologo /W3 /GX /Z7 /YX /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /FR /c
|
||||
# ADD CPP /nologo /W3 /GX /Z7 /YX /Od /I "c:\wwlib32\include" /D "_DEBUG" /D "_WINDOWS" /FR /c
|
||||
CPP_PROJ=/nologo /W3 /GX /Z7 /YX /Od /I "c:\wwlib32\include" /D "_DEBUG" /D\
|
||||
"_WINDOWS" /FR$(INTDIR)/ /Fp$(OUTDIR)/"mem.pch" /Fo$(INTDIR)/ /c
|
||||
CPP_OBJS=.\WinDebug/
|
||||
BSC32=bscmake.exe
|
||||
# ADD BASE BSC32 /nologo
|
||||
# ADD BSC32 /nologo
|
||||
BSC32_FLAGS=/nologo /o$(OUTDIR)/"mem.bsc"
|
||||
BSC32_SBRS= \
|
||||
$(INTDIR)/NEWDEL.SBR \
|
||||
$(INTDIR)/ALLOC.SBR \
|
||||
$(INTDIR)/MEM.SBR
|
||||
|
||||
$(OUTDIR)/mem.bsc : $(OUTDIR) $(BSC32_SBRS)
|
||||
$(BSC32) @<<
|
||||
$(BSC32_FLAGS) $(BSC32_SBRS)
|
||||
<<
|
||||
|
||||
LIB32=lib.exe
|
||||
# ADD BASE LIB32 /NOLOGO
|
||||
# ADD LIB32 /NOLOGO
|
||||
LIB32_FLAGS=/NOLOGO /OUT:$(OUTDIR)\"mem.lib"
|
||||
DEF_FLAGS=
|
||||
DEF_FILE=
|
||||
LIB32_OBJS= \
|
||||
$(INTDIR)/NEWDEL.OBJ \
|
||||
$(INTDIR)/ALLOC.OBJ \
|
||||
$(INTDIR)/MEM.OBJ \
|
||||
.\MEM_COPY.OBJ
|
||||
|
||||
$(OUTDIR)/mem.lib : $(OUTDIR) $(DEF_FILE) $(LIB32_OBJS)
|
||||
$(LIB32) @<<
|
||||
$(LIB32_FLAGS) $(DEF_FLAGS) $(LIB32_OBJS)
|
||||
<<
|
||||
|
||||
!ENDIF
|
||||
|
||||
.c{$(CPP_OBJS)}.obj:
|
||||
$(CPP) $(CPP_PROJ) $<
|
||||
|
||||
.cpp{$(CPP_OBJS)}.obj:
|
||||
$(CPP) $(CPP_PROJ) $<
|
||||
|
||||
.cxx{$(CPP_OBJS)}.obj:
|
||||
$(CPP) $(CPP_PROJ) $<
|
||||
|
||||
################################################################################
|
||||
# Begin Group "Source Files"
|
||||
|
||||
################################################################################
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\MEM_COPY.ASM
|
||||
# End Source File
|
||||
################################################################################
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\NEWDEL.CPP
|
||||
DEP_NEWDE=\
|
||||
.\WWMEM.H\
|
||||
\wwlib32\include\wwstd.h\
|
||||
.\MEMFLAG.H
|
||||
|
||||
$(INTDIR)/NEWDEL.OBJ : $(SOURCE) $(DEP_NEWDE) $(INTDIR)
|
||||
|
||||
# End Source File
|
||||
################################################################################
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\ALLOC.CPP
|
||||
DEP_ALLOC=\
|
||||
.\WWMEM.H\
|
||||
\wwlib32\include\mono.h\
|
||||
\wwlib32\include\wwstd.h\
|
||||
.\MEMFLAG.H
|
||||
|
||||
$(INTDIR)/ALLOC.OBJ : $(SOURCE) $(DEP_ALLOC) $(INTDIR)
|
||||
|
||||
# End Source File
|
||||
################################################################################
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\MEM.CPP
|
||||
DEP_MEM_C=\
|
||||
\wwlib32\include\wwstd.h\
|
||||
.\WWMEM.H\
|
||||
\wwlib32\include\timer.h\
|
||||
.\MEMFLAG.H
|
||||
|
||||
$(INTDIR)/MEM.OBJ : $(SOURCE) $(DEP_MEM_C) $(INTDIR)
|
||||
|
||||
# End Source File
|
||||
################################################################################
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\MEM_COPY.OBJ
|
||||
# End Source File
|
||||
# End Group
|
||||
# End Project
|
||||
################################################################################
|
||||
Reference in New Issue
Block a user