home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / VSCPPv8.zip / VACPP / IBMCPP / samples / IOC / LANCELOT / MAKEFILE < prev    next >
Text File  |  1995-05-15  |  6KB  |  164 lines

  1. #*******************************************************************************
  2. #* SAMPLE PROJECT: Lancelot makefile for OS/2                                  *
  3. #*                                                                             *
  4. #* COPYRIGHT:                                                                  *
  5. #* ----------                                                                  *
  6. #* Copyright (C) International Business Machines Corp., 1992,1995.             *
  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. # Make file assumptions:
  21. #    - Environment variable INCLUDE contains paths to:
  22. #       IBM Compiler target_directory\include;
  23. #       OS/2 Developer's Toolkit target_directory include paths
  24. #    - Environment variable LIB contains paths to:
  25. #       IBM Compiler target_directory\lib;
  26. #       OS/2 Developer's Toolkit target_directory lib paths
  27. #    - Current directory contains source files. Originals are in:
  28. #        IBM Compiler target_directory\samples\ioc\lancelot
  29. #    - current directory will be used to store:
  30. #        object, executable, and resource files
  31.  
  32. ERASE=ERASE
  33. GCPPC=ICC.EXE
  34. GLINK=ICC.EXE
  35.  
  36. ICLCPPOPTS=/GM /GD /O /Q /DIC_TRACE_ALL /DIC_DEVELOP
  37.  
  38. GCPPFLAGS=$(LOCALOPTS) $(ICLCPPOPTS)
  39.  
  40. GCPPLFLAGS=/Tdp /Q /B" /pmtype:pm"
  41.  
  42. all:  lancelot.exe
  43.  
  44.  
  45. lancelot.exe:  lancelot.inf lancelot.obj lmainwin.obj linfowin.obj \
  46.         lperswin.obj linfonb.obj lcnrobj.obj lpagectl.obj lacct.obj \
  47.         lstatus.obj lbadge.obj lskill.obj lgenl.obj lgoodies.obj \
  48.         ldbase.obj lproject.obj ltask.obj ltimec.obj ltimepie.obj \
  49.         lperswdm.obj lgeneric.obj ldbqry.obj lancelot.res lanchelp.hlp
  50.         $(GLINK) $(GCPPLFLAGS) /Fe"lancelot.exe" \
  51.           lancelot.obj lmainwin.obj linfowin.obj \
  52.           lperswin.obj linfonb.obj lcnrobj.obj lacct.obj lbadge.obj \
  53.           lstatus.obj lskill.obj lgenl.obj lpagectl.obj ldbase.obj \
  54.          lproject.obj ltask.obj ltimec.obj ltimepie.obj \
  55.           ldbqry.obj lgeneric.obj lgoodies.obj lperswdm.obj
  56.         RC lancelot.res lancelot.exe
  57.  
  58. lancelot.obj:  lancelot.cpp lancelot.h
  59.         $(GCPPC) /C $(GCPPFLAGS) lancelot.cpp
  60.  
  61. lpagectl.obj:  lpagectl.cpp  lpagectl.hpp lancelot.h
  62.        $(GCPPC) /C $(GCPPFLAGS) lpagectl.cpp
  63.  
  64. lacct.obj:  lacct.cpp  lacct.hpp lancelot.h
  65.         $(GCPPC) /C $(GCPPFLAGS) lacct.cpp
  66.  
  67. lstatus.obj:  lstatus.cpp lstatus.hpp lancelot.h
  68.         $(GCPPC) /C $(GCPPFLAGS) lstatus.cpp
  69.  
  70. lbadge.obj:  lbadge.cpp lbadge.hpp lancelot.h
  71.         $(GCPPC) /C $(GCPPFLAGS) lbadge.cpp
  72.  
  73. lskill.obj:  lskill.cpp lskill.hpp lancelot.h
  74.         $(GCPPC) /C $(GCPPFLAGS) lskill.cpp
  75.  
  76. lgenl.obj:  lgenl.cpp lgenl.hpp lancelot.h
  77.         $(GCPPC) /C $(GCPPFLAGS) lgenl.cpp
  78.  
  79. lgoodies.obj: lgoodies.cpp lgoodies.hpp lancelot.h
  80.         $(GCPPC) /C $(GCPPFLAGS) lgoodies.cpp
  81.  
  82. ldbqry.obj:  ldbqry.cpp ldbqry.hpp lancelot.h
  83.         $(GCPPC) /C $(GCPPFLAGS) ldbqry.cpp
  84.  
  85. ldbase.obj:  ldbase.cpp ldbase.hpp lancelot.h
  86.         $(GCPPC) /C $(GCPPFLAGS) ldbase.cpp
  87.  
  88. lgeneric.obj:  lgeneric.cpp lgeneric.hpp lancelot.h
  89.         $(GCPPC) /C $(GCPPFLAGS) lgeneric.cpp
  90.  
  91. lcnrobj.obj:  lcnrobj.cpp lcnrobj.hpp lancelot.h
  92.         $(GCPPC) /C $(GCPPFLAGS) lcnrobj.cpp
  93.  
  94. linfonb.obj:  linfonb.cpp linfonb.hpp lancelot.h
  95.         $(GCPPC) /C $(GCPPFLAGS) linfonb.cpp
  96.  
  97. lperswin.obj:  lperswin.cpp lperswin.hpp lancelot.h
  98.         $(GCPPC) /C $(GCPPFLAGS) lperswin.cpp
  99.  
  100. linfowin.obj:  linfowin.cpp linfowin.hpp lancelot.h
  101.         $(GCPPC) /C $(GCPPFLAGS) linfowin.cpp
  102.  
  103. lmainwin.obj:  lmainwin.cpp lmainwin.hpp lancelot.h
  104.         $(GCPPC) /C $(GCPPFLAGS) lmainwin.cpp
  105.  
  106.  
  107. lproject.obj:  lproject.cpp lproject.hpp lancelot.h
  108.         $(GCPPC) /C $(GCPPFLAGS) lproject.cpp
  109.  
  110. ltask.obj:  ltask.cpp ltask.hpp lancelot.h
  111.         $(GCPPC) /C $(GCPPFLAGS) ltask.cpp
  112.  
  113. ltimec.obj:  ltimec.cpp ltimec.hpp lancelot.h
  114.         $(GCPPC) /C $(GCPPFLAGS) ltimec.cpp
  115.  
  116. ltimepie.obj:  ltimepie.cpp ltimepie.hpp lancelot.h
  117.         $(GCPPC) /C $(GCPPFLAGS) ltimepie.cpp
  118.  
  119. lperswdm.obj:  lperswdm.cpp lperswdm.hpp lancelot.h
  120.         $(GCPPC) /C $(GCPPFLAGS) lperswdm.cpp
  121.  
  122. lancelot.res:  lancelot.rc lancelot.h \
  123.                lancelot.ico query.ico query2.ico \
  124.                person1.ico person2.ico person3.ico person4.ico personu.ico \
  125.                add.ico change.ico help.ico next.ico previous.ico \
  126.                remove.ico save.ico undo.ico \
  127.                arrange.bmp boot.bmp create.bmp deselall.bmp \
  128.                opendeta.bmp openicon.bmp opentree.bmp selall.bmp \
  129.                sortasc.bmp sortdesc.bmp transfer.bmp
  130.         rc -r -DIC_PM lancelot.rc
  131.  
  132. lanchelp.hlp:  lanchelp.ipf
  133.         ipfc lanchelp.ipf
  134.  
  135. lancelot.inf:  lancelot.ipf
  136.         ipfc lancelot.ipf /inf
  137.         view lancelot.inf
  138.  
  139. clean:
  140.         $(ERASE) lancelot.obj
  141.         $(ERASE) lmainwin.obj
  142.         $(ERASE) linfowin.obj
  143.         $(ERASE) lperswin.obj
  144.         $(ERASE) linfonb.obj
  145.         $(ERASE) lcnrobj.obj
  146.         $(ERASE) lpagectl.obj
  147.         $(ERASE) lacct.obj
  148.         $(ERASE) lstatus.obj
  149.         $(ERASE) lbadge.obj
  150.         $(ERASE) lskill.obj
  151.         $(ERASE) lgenl.obj
  152.         $(ERASE) ldbase.obj
  153.         $(ERASE) ldbqry.obj
  154.         $(ERASE) lproject.obj
  155.         $(ERASE) ltask.obj
  156.         $(ERASE) ltimec.obj
  157.         $(ERASE) ltimepie.obj
  158.         $(ERASE) lgeneric.obj
  159.         $(ERASE) lgoodies.obj
  160.         $(ERASE) lperswdm.obj
  161.         $(ERASE) lancelot.res
  162.         $(ERASE) lancelot.inf
  163.         $(ERASE) lanchelp.hlp
  164.