home *** CD-ROM | disk | FTP | other *** search
/ Chip 2002 May / Chip_2002-05_cd1.bin / chplus / cpp / 3 / stl.exe / makefile < prev    next >
Makefile  |  1998-02-09  |  5KB  |  94 lines

  1. #==========================================================================
  2. #
  3. #  makefile - makefile for examples
  4. #
  5. #==========================================================================
  6. #
  7. #  (c) Copyright 1994, 1995 Rogue Wave Software, Inc.
  8. #  ALL RIGHTS RESERVED
  9. #
  10. #  The software and information contained herein are proprietary to, and
  11. #  comprise valuable trade secrets of, Rogue Wave Software, Inc., which
  12. #  intends to preserve as trade secrets such software and information.
  13. #  This software is furnished pursuant to a written license agreement and
  14. #  may be used, copied, transmitted, and stored only in accordance with
  15. #  the terms of such license and with the inclusion of the above copyright
  16. #  notice.  This software and information or any other copies thereof may
  17. #  not be provided or otherwise made available to any other person.
  18. #
  19. #  Notwithstanding any other lease or license that may pertain to, or
  20. #  accompany the delivery of, this computer software and information, the
  21. #  rights of the Government regarding its use, reproduction and disclosure
  22. #  are as set forth in Section 52.227-19 of the FARS Computer
  23. #  Software-Restricted Rights clause.
  24. #
  25. #  Use, duplication, or disclosure by the Government is subject to
  26. #  restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in
  27. #  Technical Data and Computer Software clause at DFARS 252.227-7013.
  28. #  Contractor/Manufacturer is Rogue Wave Software, Inc.,
  29. #  P.O. Box 2328, Corvallis, Oregon 97339.
  30. #
  31. #  This computer software and information is distributed with "restricted
  32. #  rights."  Use, duplication or disclosure is subject to restrictions as
  33. #  set forth in NASA FAR SUP 18-52.227-79 (April 1985) "Commercial
  34. #  Computer Software-Restricted Rights (April 1985)."  If the Clause at
  35. #  18-52.227-74 "Rights in Data General" is specified in the contract,
  36. #  then the "Alternate III" clause applies.
  37. #
  38. #==========================================================================
  39. #
  40. #  Makefile for the Rogue Wave Standard Library package, using
  41. #  Borland C++ with a Win32 target.
  42. #
  43. #  Note ONLY the Borland-supplied "make" command
  44. #  should be used.
  45. #
  46. #==========================================================================
  47.  
  48. !include makeincl.inc
  49.  
  50. ########################   Targets    #################################
  51.  
  52. ALLEXES =                                                                     \
  53.         accum.exe adj_diff.exe advance.exe auto_ptr.exe binders.exe           \
  54.         bitset.exe b_search.exe codecvt.exe collate.exe complex.exe           \
  55.         copyex.exe count.exe ctype.exe deque.exe distance.exe eqlrange.exe    \
  56.         equal.exe except.exe filebuf.exe fill.exe find.exe find_end.exe       \
  57.         find_f_o.exe for_each.exe fstream.exe funct_ob.exe generate.exe       \
  58.         hasfacet.exe heap_ops.exe ifstream.exe includes.exe inr_prod.exe      \
  59.         ins_itr.exe io_iter.exe isalnum.exe istbufit.exe istngstr.exe         \
  60.         istream1.exe istrstre.exe lex_comp.exe limits.exe list.exe            \
  61.         locale.exe map.exe max.exe max_elem.exe memfunc.exe memfunrf.exe      \
  62.         merge.exe mismatch.exe moneyget.exe moneyput.exe                      \
  63.         monpunct.exe multimap.exe multiset.exe mutex.exe negator.exe          \
  64.         nthelem.exe numget.exe numpunct.exe numput.exe ostbufit.exe           \
  65.         ostream1.exe ostream2.exe partsort.exe partsum.exe permute.exe        \
  66.         pnt2fnct.exe prtition.exe p_queue.exe queue.exe remove.exe            \
  67.         replace.exe reverse.exe rev_itr.exe rndshufl.exe rotate.exe           \
  68.         search.exe setex.exe set_diff.exe set_intr.exe set_s_di.exe           \
  69.         set_unin.exe sort.exe stack.exe stngstre.exe string.exe strngbuf.exe  \
  70.         strstrbf.exe strstrea.exe swap.exe timeget.exe timeput.exe            \
  71.         toupper.exe trnsform.exe ul_bound.exe unique.exe usefacet.exe         \
  72.         vector.exe alg1.exe alg2.exe alg3.exe alg4.exe alg5.exe alg6.exe      \
  73.         alg7.exe autoptr.exe calc.exe complx.exe concord.exe exceptn.exe      \
  74.         graph.exe icecream.exe radix.exe sieve.exe spell.exe stocks.exe       \
  75.         tele.exe widwork.exe
  76.  
  77. all : allobjs $(ALLEXES)
  78.  
  79. allobjs: $(ALLEXES:.exe=.obj)
  80.  
  81. clean:
  82.    -@if exist *.obj del *.obj                 >nul
  83.    -@if exist *.exe del *.exe                 >nul
  84.    -@if exist *.tds del *.tds                 >nul
  85.    -@if exist $(PCHROOT).* del $(PCHROOT).*   >nul
  86.  
  87.  
  88. ###########################  Implicit Rules #######################
  89. .cpp.obj:
  90.     $(CPP) $(CPPFLAGS) -Hc -c {$? }
  91.  
  92. .obj.exe:
  93.     $(CPP) $(CPPFLAGS) $<
  94.