home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1996 February
/
PCWK0296.iso
/
abcflow
/
abc
/
samples
/
ole_vbx
/
ole_vbx.mak
< prev
next >
Wrap
Makefile
|
1995-01-18
|
4KB
|
156 lines
# Microsoft Visual C++ generated build script - Do not modify
PROJ = OLE_VBX
DEBUG = 0
PROGTYPE = 0
CALLER =
ARGS =
DLLS =
D_RCDEFINES = /d_DEBUG
R_RCDEFINES = /dNDEBUG
ORIGIN = MSVC
ORIGIN_VER = 1.00
PROJPATH = C:\ABC\SAMPLES\OLE_VBX\
USEMFC = 1
CC = cl
CPP = cl
CXX = cl
CCREATEPCHFLAG =
CPPCREATEPCHFLAG = /YcSTDAFX.H
CUSEPCHFLAG =
CPPUSEPCHFLAG = /YuSTDAFX.H
FIRSTC =
FIRSTCPP = STDAFX.CPP
RC = rc
CFLAGS_D_WEXE = /nologo /G2 /W3 /Zi /AL /Od /D "_DEBUG" /FR /GA /Fd"OLE_VBX.PDB"
CFLAGS_R_WEXE = /nologo /Gs /G2 /W3 /AL /O1 /D "NDEBUG" /GA
LFLAGS_D_WEXE = /NOLOGO /NOD /PACKC:61440 /STACK:20480 /ALIGN:16 /ONERROR:NOEXE /CO
LFLAGS_R_WEXE = /NOLOGO /NOD /PACKC:61440 /STACK:20480 /ALIGN:16 /ONERROR:NOEXE
LIBS_D_WEXE = lafxcwd oldnames libw llibcew commdlg shell compobj storage ole2 ole2disp ole2nls mfcoleui odbc
LIBS_R_WEXE = lafxcw oldnames libw llibcew commdlg shell compobj storage ole2 ole2disp ole2nls mfcoleui odbc
RCFLAGS = /nologo /z
RESFLAGS = /nologo /t
RUNFLAGS =
DEFFILE = OLE_VBX.DEF
OBJS_EXT =
LIBS_EXT =
!if "$(DEBUG)" == "1"
CFLAGS = $(CFLAGS_D_WEXE)
LFLAGS = $(LFLAGS_D_WEXE)
LIBS = $(LIBS_D_WEXE)
MAPFILE = nul
RCDEFINES = $(D_RCDEFINES)
!else
CFLAGS = $(CFLAGS_R_WEXE)
LFLAGS = $(LFLAGS_R_WEXE)
LIBS = $(LIBS_R_WEXE)
MAPFILE = nul
RCDEFINES = $(R_RCDEFINES)
!endif
!if [if exist MSVC.BND del MSVC.BND]
!endif
SBRS = STDAFX.SBR \
OLE_VBX.SBR \
MAINFRM.SBR \
OLE_VDOC.SBR \
OLE_VVW.SBR \
ABCAUTO.SBR
OLE_VBX_RCDEP = c:\abc\samples\ole_vbx\res\ole_vbx.ico \
c:\abc\samples\ole_vbx\res\ole_vbx.rc2
STDAFX_DEP = c:\abc\samples\ole_vbx\stdafx.h
OLE_VBX_DEP = c:\abc\samples\ole_vbx\stdafx.h \
c:\abc\samples\ole_vbx\ole_vbx.h \
c:\abc\samples\ole_vbx\mainfrm.h \
c:\abc\samples\ole_vbx\ole_vdoc.h \
c:\abc\samples\ole_vbx\ole_vvw.h \
c:\abc\samples\ole_vbx\abcauto.h
MAINFRM_DEP = c:\abc\samples\ole_vbx\stdafx.h \
c:\abc\samples\ole_vbx\ole_vbx.h \
c:\abc\samples\ole_vbx\mainfrm.h
OLE_VDOC_DEP = c:\abc\samples\ole_vbx\stdafx.h \
c:\abc\samples\ole_vbx\ole_vbx.h \
c:\abc\samples\ole_vbx\ole_vdoc.h
OLE_VVW_DEP = c:\abc\samples\ole_vbx\stdafx.h \
c:\abc\samples\ole_vbx\ole_vbx.h \
c:\abc\samples\ole_vbx\ole_vdoc.h \
c:\abc\samples\ole_vbx\ole_vvw.h
ABCAUTO_DEP = c:\abc\samples\ole_vbx\stdafx.h \
c:\abc\samples\ole_vbx\abcauto.h
all: $(PROJ).EXE
OLE_VBX.RES: OLE_VBX.RC $(OLE_VBX_RCDEP)
$(RC) $(RCFLAGS) $(RCDEFINES) -r OLE_VBX.RC
STDAFX.OBJ: STDAFX.CPP $(STDAFX_DEP)
$(CPP) $(CFLAGS) $(CPPCREATEPCHFLAG) /c STDAFX.CPP
OLE_VBX.OBJ: OLE_VBX.CPP $(OLE_VBX_DEP)
$(CPP) $(CFLAGS) $(CPPUSEPCHFLAG) /c OLE_VBX.CPP
MAINFRM.OBJ: MAINFRM.CPP $(MAINFRM_DEP)
$(CPP) $(CFLAGS) $(CPPUSEPCHFLAG) /c MAINFRM.CPP
OLE_VDOC.OBJ: OLE_VDOC.CPP $(OLE_VDOC_DEP)
$(CPP) $(CFLAGS) $(CPPUSEPCHFLAG) /c OLE_VDOC.CPP
OLE_VVW.OBJ: OLE_VVW.CPP $(OLE_VVW_DEP)
$(CPP) $(CFLAGS) $(CPPUSEPCHFLAG) /c OLE_VVW.CPP
ABCAUTO.OBJ: ABCAUTO.CPP $(ABCAUTO_DEP)
$(CPP) $(CFLAGS) $(CPPUSEPCHFLAG) /c ABCAUTO.CPP
$(PROJ).EXE:: OLE_VBX.RES
$(PROJ).EXE:: STDAFX.OBJ OLE_VBX.OBJ MAINFRM.OBJ OLE_VDOC.OBJ OLE_VVW.OBJ ABCAUTO.OBJ $(OBJS_EXT) $(DEFFILE)
echo >NUL @<<$(PROJ).CRF
STDAFX.OBJ +
OLE_VBX.OBJ +
MAINFRM.OBJ +
OLE_VDOC.OBJ +
OLE_VVW.OBJ +
ABCAUTO.OBJ +
$(OBJS_EXT)
$(PROJ).EXE
$(MAPFILE)
C:\MSVC\LIB\+
C:\MSVC\MFC\LIB\+
C:\PROGOLE2\LIB\+
C:\OLE_DROP\LIB\+
C:\MSVC\MFC\LIB\+
P:\QKING\INOLE2\LIB\+
$(LIBS)
$(DEFFILE);
<<
link $(LFLAGS) @$(PROJ).CRF
$(RC) $(RESFLAGS) OLE_VBX.RES $@
@copy $(PROJ).CRF MSVC.BND
$(PROJ).EXE:: OLE_VBX.RES
if not exist MSVC.BND $(RC) $(RESFLAGS) OLE_VBX.RES $@
run: $(PROJ).EXE
$(PROJ) $(RUNFLAGS)
$(PROJ).BSC: $(SBRS)
bscmake @<<
/o$@ $(SBRS)
<<