home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Borland Programmer's Resource
/
Borland_Programmers_Resource_CD_1995.iso
/
code
/
ntfiles
/
files.mak
< prev
next >
Wrap
Makefile
|
1995-05-18
|
2KB
|
90 lines
# Microsoft Visual C++ generated build script - Do not modify
PROJ = FILES
DEBUG = 0
PROGTYPE = 2
CALLER =
ARGS = \\espada\u$\cjp10801\
DLLS =
ORIGIN = MSVCNT
ORIGIN_VER = 1.00
PROJPATH = C:\SRC\FILES\
USEMFC = 0
CC = cl
CPP = cl
CXX = cl
CCREATEPCHFLAG =
CPPCREATEPCHFLAG =
CUSEPCHFLAG =
CPPUSEPCHFLAG =
FIRSTC = FILES.C
FIRSTCPP =
RC = rc
CFLAGS_D_DEXE32 = /nologo /W3 /Zi /YX /D "_X86_" /D "_DEBUG" /D "_CONSOLE" /FR /ML /Fd"FILES.PDB" /Fp"FILES.PCH"
CFLAGS_R_DEXE32 = /nologo /W3 /YX /O2 /Ob2 /D "_X86_" /D "NDEBUG" /D "_CONSOLE" /ML /Fp"FILES.PCH"
LFLAGS_D_DEXE32 = /NOLOGO /DEBUG /DEBUGTYPE:cv /STACK:800000000 /SUBSYSTEM:console netapi32.lib advapi32.lib
LFLAGS_R_DEXE32 = /NOLOGO /SUBSYSTEM:console netapi32.lib advapi32.lib
LFLAGS_D_LIB32 = /NOLOGO
LFLAGS_R_LIB32 = /NOLOGO
LIBS_D_DEXE32 =
LIBS_R_DEXE32 =
RCFLAGS32 =
D_RCDEFINES32 = -d_DEBUG
R_RCDEFINES32 = -dNDEBUG
OBJS_EXT =
LIBS_EXT =
!if "$(DEBUG)" == "1"
CFLAGS = $(CFLAGS_D_DEXE32)
LFLAGS = $(LFLAGS_D_DEXE32)
LIBS = $(LIBS_D_DEXE32)
LFLAGS_LIB=$(LFLAGS_D_LIB32)
MAPFILE_OPTION =
RCDEFINES = $(D_RCDEFINES32)
!else
CFLAGS = $(CFLAGS_R_DEXE32)
LFLAGS = $(LFLAGS_R_DEXE32)
LIBS = $(LIBS_R_DEXE32)
MAPFILE_OPTION =
LFLAGS_LIB=$(LFLAGS_R_LIB32)
RCDEFINES = $(R_RCDEFINES32)
!endif
SBRS = FILES.SBR \
SETPRIV.SBR
FILES_DEP =
SETPRIV_DEP = \
c:\src\files\apierr.h
all: $(PROJ).EXE
FILES.OBJ: FILES.C $(FILES_DEP)
$(CC) $(CFLAGS) $(CCREATEPCHFLAG) /c FILES.C
SETPRIV.OBJ: SETPRIV.C $(SETPRIV_DEP)
$(CC) $(CFLAGS) $(CUSEPCHFLAG) /c SETPRIV.C
$(PROJ).EXE: FILES.OBJ SETPRIV.OBJ $(OBJS_EXT) $(LIBS_EXT)
echo >NUL @<<$(PROJ).CRF
FILES.OBJ
SETPRIV.OBJ
$(OBJS_EXT)
-OUT:$(PROJ).EXE
$(MAPFILE_OPTION)
$(LIBS)
$(LIBS_EXT)
$(DEFFILE_OPTION) -implib:$(PROJ).lib
<<
link $(LFLAGS) @$(PROJ).CRF
run: $(PROJ).EXE
$(PROJ) $(RUNFLAGS)
$(PROJ).BSC: $(SBRS)
bscmake @<<
/o$@ $(SBRS)
<<