home *** CD-ROM | disk | FTP | other *** search
/ Windows 95 v2.4 Fix / W95-v2.4fix.iso / ACADWIN / ADS / CPP / MFCADS / MFCADS.MAK < prev   
Encoding:
Makefile  |  1995-02-08  |  1.7 KB  |  52 lines

  1. #
  2. #       MFCADS.MAK
  3. #
  4. #       makefile to make ADS C++ MFC sample OBJs.
  5. #
  6. #      (C) Copyright 1988-1994 by Autodesk, Inc.
  7. #
  8. #      This program is copyrighted by Autodesk, Inc. and is  licensed
  9. #      to you under the following conditions.  You may not distribute
  10. #      or  publish the source code of this program in any form.   You
  11. #      may  incorporate this code in object form in derivative  works
  12. #      provided  such  derivative  works  are  (i.) are  designed and
  13. #      intended  to  work  solely  with  Autodesk, Inc. products, and
  14. #      (ii.)  contain  Autodesk's  copyright  notice  "(C)  Copyright
  15. #      1988-1994 by Autodesk, Inc."
  16. #
  17. #      AUTODESK  PROVIDES THIS PROGRAM "AS IS" AND WITH  ALL  FAULTS.
  18. #      AUTODESK  SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF  MER-
  19. #      CHANTABILITY OR FITNESS FOR A PARTICULAR USE.  AUTODESK,  INC.
  20. #      DOES  NOT  WARRANT THAT THE OPERATION OF THE PROGRAM  WILL  BE
  21. #      UNINTERRUPTED OR ERROR FREE.
  22. #
  23. #
  24. !include <..\adsmake.nt>
  25.  
  26. LOCINC = $(ADS_CPP)\GENERAL $(ADS)
  27. VPATH  = $(MFCADS_OBJ_DIR)
  28.  
  29. #
  30. # VC2/MFC3.0 requires a standard C RTL that supports "threads"
  31. # so we have to use /MT on the compiler command line.
  32. #
  33. !if "$(ACCOMPILER)" == "VC2" || "$(ACCOMPILER)" == "vc2"
  34. LIBTYPE = /MT
  35. !endif
  36.  
  37. all: $(MFCADSOBJS)
  38.  
  39. $(MFCADS_OBJ_DIR)\MFCADS.OBJ : $(MFCADS_DIR)\MFCADS.CPP $(MFCADSINC)
  40.  
  41. {.}.cpp{$(VPATH)}.obj:
  42.     echo Compiling $(@B).cpp
  43.     if exist $@ del $@
  44.     $(COMP) -Tp$(@B).cpp $(ERRSTUFF)
  45.     $(POSTERR)
  46.  
  47. clean:
  48.     echo Cleaning MFCADS Objects
  49.     if not exist $(MFCADS_OBJ_DIR) mkdir $(MFCADS_OBJ_DIR)
  50.     if exist $(MFCADS_OBJ_DIR)\*.* del /Q $(MFCADS_OBJ_DIR)\*.*
  51.     if exist $(MFCADS_DIR)\*.pdb del /Q $(MFCADS_DIR)\*.pdb
  52.