home *** CD-ROM | disk | FTP | other *** search
Makefile | 1995-02-08 | 1.7 KB | 52 lines |
- #
- # MFCADS.MAK
- #
- # makefile to make ADS C++ MFC sample OBJs.
- #
- # (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.
- #
- #
- !include <..\adsmake.nt>
-
- LOCINC = $(ADS_CPP)\GENERAL $(ADS)
- VPATH = $(MFCADS_OBJ_DIR)
-
- #
- # VC2/MFC3.0 requires a standard C RTL that supports "threads"
- # so we have to use /MT on the compiler command line.
- #
- !if "$(ACCOMPILER)" == "VC2" || "$(ACCOMPILER)" == "vc2"
- LIBTYPE = /MT
- !endif
-
- all: $(MFCADSOBJS)
-
- $(MFCADS_OBJ_DIR)\MFCADS.OBJ : $(MFCADS_DIR)\MFCADS.CPP $(MFCADSINC)
-
- {.}.cpp{$(VPATH)}.obj:
- echo Compiling $(@B).cpp
- if exist $@ del $@
- $(COMP) -Tp$(@B).cpp $(ERRSTUFF)
- $(POSTERR)
-
- clean:
- echo Cleaning MFCADS Objects
- if not exist $(MFCADS_OBJ_DIR) mkdir $(MFCADS_OBJ_DIR)
- if exist $(MFCADS_OBJ_DIR)\*.* del /Q $(MFCADS_OBJ_DIR)\*.*
- if exist $(MFCADS_DIR)\*.pdb del /Q $(MFCADS_DIR)\*.pdb
-