home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / cset21v1.zip / IBMCPP / SAMPLES / COMPILER / SAMPLE06 / MAKE06D < prev    next >
Text File  |  1993-05-07  |  3KB  |  101 lines

  1. #*******************************************************************************
  2. #* SAMPLE PROJECT: MAKE06D                                                     *
  3. #*                                                                             *
  4. #* COPYRIGHT:                                                                  *
  5. #* ----------                                                                  *
  6. #* Copyright (C) International Business Machines Corp., 1992,1993.             *
  7. #*                                                                             *
  8. #* DISCLAIMER OF WARRANTIES:                                                   *
  9. #* -------------------------                                                   *
  10. #* The following [enclosed] code is sample code created by IBM                 *
  11. #* Corporation.  This sample code is not part of any standard IBM product      *
  12. #* and is provided to you solely for the purpose of assisting you in the       *
  13. #* development of your applications.  The code is provided "AS IS",            *
  14. #* without warranty of any kind.  IBM shall not be liable for any damages      *
  15. #* arising out of your use of the sample code, even if they have been          *
  16. #* advised of the possibility of such damages.                                 *
  17. #*                                                                             *
  18. #*******************************************************************************
  19.  
  20. .SUFFIXES: .c .cpp
  21.  
  22. all: AUTHORS1.exe AUTHORS2.exe
  23.  
  24. AUTHORS1.EXE:  \
  25.   DATNTREE.OBJ \
  26.   TREEDATA.OBJ \
  27.   TREELINK.OBJ \
  28.   TREENODE.OBJ \
  29.   AUTHORS1.OBJ \
  30.   MAKE06D
  31.    @REM @<<AUTHORS1.@0
  32.      TREEDATA.OBJ +
  33.      TREELINK.OBJ +
  34.      TREENODE.OBJ +
  35.      AUTHORS1.OBJ
  36.      AUTHORS1.EXE
  37.  
  38.  
  39.      ;
  40. <<
  41.    icc.EXE  /Tdp authors1.obj datntree.obj treedata.obj treelink.obj treenode.obj
  42.  
  43. AUTHORS2.EXE:  \
  44.   TREEDATA.OBJ \
  45.   TREELINK.OBJ \
  46.   TREENODE.OBJ \
  47.   AUTHORS2.OBJ \
  48.   MAKE06D
  49.    @REM @<<AUTHORS2.@0
  50.      TREEDATA.OBJ +
  51.      TREELINK.OBJ +
  52.      TREENODE.OBJ +
  53.      AUTHORS2.OBJ
  54.      AUTHORS2.EXE
  55.  
  56.  
  57.      ;
  58. <<
  59.    icc.EXE  /Tdp authors2.obj treedata.obj treelink.obj treenode.obj
  60.  
  61. {.}.c.obj:
  62.    ICC.EXE /Ft+ /Gd+ /N10 /C .\$*.c
  63.  
  64. {.}.cpp.obj:
  65.    ICC.EXE /Ft+ /Gd+ /N10 /C .\$*.cpp
  66.  
  67. TREEDATA.OBJ:  TREEDATA.CPP  \
  68.    {.;$(INCLUDE);}treedata.hpp  \
  69.    MAKE06D
  70.  
  71. treelink.OBJ:  treelink.cpp  \
  72.    {.;$(INCLUDE);}treelink.hpp  \
  73.    MAKE06D
  74.  
  75. TREENODE.OBJ:  TREENODE.CPP  \
  76.    {.;$(INCLUDE);}treenode.hpp  \
  77.    {.;$(INCLUDE);}treedata.hpp  \
  78.    {.;$(INCLUDE);}treelink.hpp  \
  79.    MAKE06D
  80.  
  81. AUTHORS1.OBJ:  AUTHORS1.CPP  \
  82.    {.;$(INCLUDE);}datntree.hpp  \
  83.    {.;$(INCLUDE);}treenode.hpp  \
  84.    {.;$(INCLUDE);}treedata.hpp  \
  85.    {.;$(INCLUDE);}treelink.hpp  \
  86.    MAKE06D
  87.  
  88. AUTHORS2.OBJ:  AUTHORS2.CPP  \
  89.    {.;$(INCLUDE);}gentree.hpp  \
  90.    {.;$(INCLUDE);}treenode.hpp  \
  91.    {.;$(INCLUDE);}treedata.hpp  \
  92.    {.;$(INCLUDE);}treelink.hpp  \
  93.    MAKE06D
  94.  
  95. clean:
  96.          -Del  TREELINK.obj TREENODE.obj TREEDATA.obj DATNTREE.obj
  97.          -Del  AUTHORS1.obj AUTHORS2.obj
  98.          -Del  AUTHORS1.exe AUTHORS2.exe
  99.          -Del  tempinc\GENTREE.cpp  tempinc\GENTREE.obj
  100.          -Rd   tempinc
  101.