home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / eaclib.zip / tdrive.icc < prev   
Text File  |  1996-05-22  |  3KB  |  84 lines

  1. # --------------------------------------------------------------------------
  2. # $RCSfile: tdrive.icc,v $
  3. # $Revision: 1.1 $
  4. # $Date: 1996/05/22 20:59:55 $
  5. # $Author: Bablok $
  6. # --------------------------------------------------------------------------
  7. # Synopsis:
  8. #
  9. # Makefile for test driver program for class EA and EAList.
  10. #
  11. # This file is part of the EA classlib package.
  12. # Copyright Bernhard Bablok, 1996
  13. #
  14. # The EA classlib package is distributed in the hope that it will be
  15. # useful, but WITHOUT ANY WARRANTY; without even the implied warranty
  16. # of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  17. #
  18. # You may use the classes in the package to any extend you wish. You are
  19. # allowed to change and copy the source of the classes, as long as you keep
  20. # the copyright notice intact and as long as you document the changes you made.
  21. #
  22. # You are not allowed to sell the EA classlib package or a modified version
  23. # thereof, but you may charge for costs of distribution media.
  24. #
  25. # --------------------------------------------------------------------------
  26. # Change-Log:
  27. #
  28. # $Log: tdrive.icc,v $
  29. # Revision 1.1  1996/05/22 20:59:55  Bablok
  30. # Initial revision
  31. #
  32. # --------------------------------------------------------------------------
  33. # ============== Do not edit between these lines! ================
  34. # Makefile generated by EditProject Version 1.02
  35. # Project: tdrive
  36. # Date:    17 Mar 1996
  37. # Time:    11:49:01
  38.  
  39. PROJECT = tdrive
  40. MODE = D
  41. G_CFLAGS = /W2
  42. D_CFLAGS = /Gd+ /Ti+ /Tm+ /Wpro+uni
  43. P_CFLAGS = /O+
  44. G_LFLAGS = /Tdp
  45. D_LFLAGS = cppooc3i.lib /Ti+
  46. P_LFLAGS = cppooc3.lib cppom30.lib /Gl
  47. O  = .obj
  48. AR = lib
  49. CC = icc
  50. SOURCES = EA.cpp tdrive.cpp EAList.cpp
  51. RC_FILE =
  52. RES_FILE = $(subst .rc,.RES,$(RC_FILE))
  53. MODULE_FILE =
  54. TARGET_TYPE = EXE
  55. C_OBJECTS   = $(patsubst %.c,%$(O),$(filter %.c,$(SOURCES)))
  56. CC_OBJECTS  = $(patsubst %.cc,%$(O),$(filter %.cc,$(SOURCES)))
  57. CPP_OBJECTS = $(patsubst %.cpp,%$(O),$(filter %.cpp,$(SOURCES)))
  58. OBJECTS    := $(C_OBJECTS) $(CC_OBJECTS) $(CPP_OBJECTS)
  59. VPATH   = G:/EA
  60. OBJ_DIR = $(VPATH)/obj$(MODE)/
  61. vpath %$(O) $(OBJ_DIR)
  62.  
  63. # ============== Do not edit between these lines! ================
  64.  
  65. .PHONY : all main_target
  66. all:
  67.     $(MAKE) -f tdrive.icc -C $(VPATH) main_target
  68.  
  69. main_target : $(PROJECT).exe
  70. $(PROJECT).exe : $(OBJECTS) $(MODULE_FILE)
  71.     $(CC) $(G_LFLAGS) $($(MODE)_LFLAGS) /Fe$(PROJECT).exe $(subst \
  72.             /,\,$(OBJECTS:%=$(OBJ_DIR)%)) $(MODULE_FILE)
  73.  
  74. $(CPP_OBJECTS) : %$(O) : %.cpp
  75.     $(CC) /C+ $(G_CFLAGS) $($(MODE)_CFLAGS) /Fo$(OBJ_DIR)$(@F) $<
  76.  
  77. EA$(O) : EA.cpp  EA.hpp EAList.hpp
  78.  
  79. tdrive$(O) : tdrive.cpp  EA.hpp EAList.hpp
  80.  
  81. EAList$(O) : EAList.cpp  EA.hpp EAList.hpp
  82.  
  83. # == Do not delete this line. User added code after this line is preserved. ==
  84.