home *** CD-ROM | disk | FTP | other *** search
- #
- # ADSMAKE.NT
- #
- # Basic make file rules for ADS C++ samples, included by all
- # other makefiles.
- #
- # (C) Copyright 1988-1994 by Autodesk, Inc.
- #
- # This program is copyrighted by Autodesk, Inc. and is licensed
- # to you under the following conditions. You may not distribute
- # or publish the source code of this program in any form. You
- # may incorporate this code in object form in derivative works
- # provided such derivative works are (i.) are designed and
- # intended to work solely with Autodesk, Inc. products, and
- # (ii.) contain Autodesk's copyright notice "(C) Copyright
- # 1988-1994 by Autodesk, Inc."
- #
- # AUTODESK PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS.
- # AUTODESK SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF MER-
- # CHANTABILITY OR FITNESS FOR A PARTICULAR USE. AUTODESK, INC.
- # DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
- # UNINTERRUPTED OR ERROR FREE.
- #
- #
-
- !ifndef ACEXE
- ACEXE=.
- !endif
-
- !ifndef ACOBJ
- ACOBJ=.
- !endif
-
- !ifndef ACINC
- ACINC=..
- !endif
-
- OBJ=$(ACOBJ)\ads\cpp
-
- ADSLIB = $(ACOBJ)\ads\winads.lib
- VPATH = $(OBJ)
- #IPATH = -I$(ACINC) -I$(ADS)
- LOCINC = $(ADS)
- ADS_CPP = $(ADS)\CPP
- ADS_CPP_OBJ = $(OBJ)
- #
- # LIBTYPE is used to specify what kind of CRTL library will be linked in.
- # In VC1 we could use static link version, /ML, but DLL version, /MD, or
- # multi-threaded version, /MT, is required for VC2/MFC3.0. The default
- # is /ML for VC1.
- #
- LIBTYPE = /ML
- LOCCFLAGS = $(LIBTYPE) /Fp$(VPATH)\MSVC.PCH /D "_WINDOWS" /D"WIN32" /D "_DEBUG" /D "_MBCS" /Zp2 /WX /D "STRICT" /YX
-
- !include "$(ADS)\adsnt.mak"
-
- !include "$(ADS_CPP)\general\adsbase.inc"
- !include "$(ADS_CPP)\adscpp\adscpp.inc"
- !include "$(ADS_CPP)\mfcads\mfcads.inc"
- !include "$(ADS_CPP)\dde\adsdde.inc"
-
- .SUFFIXES : .rc .res .cpp .exe
-
- # --- default rules for making .exe ---
-
- {.}.rc{$(OBJ)}.res:
- echo Compiling Resource $@
- rc -Fo$(OBJ)\$(@B).res $(@B).rc
-
- {$(OBJ)}.obj{$(ACEXE)}.exe:
- echo Linking $(ac_ldebug_echo) $@
- $(link) $(CVDBUG) \
- $(OBJ)\$(@B).obj $(OBJ)\$(@B).res $(DDEOBJ) $(ADSLIB) \
- $(ads_lflags) \
- -nodefaultlib \
- $(ads_llibs) \
- $(ac_ldebug_flags) \
- -out:$@ \
- $(ERRSTUFF)
-