home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD2.mdf / c / library / os2 / pmchessr / pmchess.mak < prev    next >
Encoding:
Makefile  |  1990-12-01  |  3.6 KB  |  120 lines

  1. #
  2. #  Copyright (C) 1986, 1987, 1988, 1989, 1990 Free Software Foundation, Inc.
  3. #  Copyright (c) 1988, 1989, 1990  John Stanback
  4. #
  5. #  Project:    OS/2 PM Port of GNU CHESS 3.1 (PmChess)
  6. #
  7. #  Version:    1990-11-17
  8. #
  9. #     File:    Make File (PmChess.mak)
  10. #
  11. #   Porter:    Ported to Windows 3.0 by Darly Baker
  12. #
  13. #   Porter:    Ported to OS/2 1.2 by Kent Cedola
  14. #
  15. #   System:    OS2 1.2 using Microsoft C 6.0
  16. #
  17. #  License:
  18. #
  19. #    CHESS is distributed in the hope that it will be useful, but WITHOUT ANY
  20. #    WARRANTY.  No author or distributor accepts responsibility to anyone for
  21. #    the consequences of using it or for whether it serves any particular
  22. #    purpose or works at all, unless he says so in writing.  Refer to the
  23. #    CHESS General Public License for full details.
  24. #
  25. #    Everyone is granted permission to copy, modify and redistribute CHESS,
  26. #    but only under the conditions described in the CHESS General Public
  27. #    License.  A copy of this license is supposed to have been given to you
  28. #    along with CHESS so you can know your rights and responsibilities.  It
  29. #    should be in a file named COPYING.  Among other things, the copyright
  30. #    notice and this notice must be preserved on all copies.
  31. #
  32.  
  33.  
  34. #===================================================================
  35. #
  36. #   Default inference rules
  37. #
  38. #===================================================================
  39. .c.obj:
  40.     cl -c -AM -G2cs -Ox -W3 -Zi -FPa -DLINT_ARGS $*.c
  41.  
  42. #.c.obj:
  43. #    cl386 -c -Gs -Od -W3 -Zi -B1 c1l_386 -DLINT_ARGS $*.c
  44.  
  45. .rc.res:
  46.     rc -r $*.rc
  47.  
  48. #===================================================================
  49. #
  50. #   A list of all of the object files
  51. #
  52. #===================================================================
  53. ALL_OBJ1 = PmChess.obj Piece.obj Stats.obj TimeCnt.obj
  54. ALL_OBJ2 = Eval.obj Globals.obj Search.obj Dsp.obj Book.obj Init.obj
  55. ALL_OBJ3 = Board.obj MswDsp.obj Color.obj Create.obj
  56. ALL_OBJ4 = Promote.obj Test.obj InitMenu.obj NumDlg.obj
  57.  
  58.  
  59. #===================================================================
  60. #
  61. #   Dependencies
  62. #
  63. #===================================================================
  64.  
  65. all: PmChess.exe
  66.  
  67. PmChess.lnk: PmChess.mak
  68.     echo $(ALL_OBJ1) +              > PmChess.lnk
  69.     echo $(ALL_OBJ2) +              >> PmChess.lnk
  70.     echo $(ALL_OBJ3) +              >> PmChess.lnk
  71.     echo $(ALL_OBJ4)                >> PmChess.lnk
  72.     echo PmChess.exe                >> PmChess.lnk
  73.     echo PmChess.map /MAP/CO/NOD    >> PmChess.lnk
  74.     echo mlibca os2                 >> PmChess.lnk
  75.     echo PmChess.def                >> PmChess.lnk
  76.  
  77. PmChess.res : $*.rc Resource.h
  78.  
  79. PmChess.obj : $*.c $*.h
  80.  
  81. Eval.obj    : $*.c GnuChess.h Defs.h
  82.  
  83. Globals.obj : $*.c GnuChess.h
  84.  
  85. Search.obj  : $*.c PmChess.h GnuChess.h Defs.h
  86.  
  87. Book.obj    : $*.c PmChess.h GnuChess.h Defs.h Resource.h
  88.  
  89. Init.obj    : $*.c PmChess.h GnuChess.h Defs.h Resource.h
  90.  
  91. Dsp.obj     : $*.c PmChess.h GnuChess.h Defs.h Resource.h
  92.  
  93. Board.obj   : $*.c PmChess.h Defs.h
  94.  
  95. MswDsp.obj  : $*.c PmChess.h GnuChess.h Defs.h Resource.h
  96.  
  97. Color.obj   : $*.c PmChess.h Resource.h
  98.  
  99. Create.obj  : $*.c PmChess.h Resource.h
  100.  
  101. Piece.obj   : $*.c PmChess.h GnuChess.h Defs.h Resource.h
  102.  
  103. Promote.obj : $*.c PmChess.h Resource.h
  104.  
  105. Stats.obj    : $*.c PmChess.h Resource.h
  106.  
  107. Test.obj     : $*.c PmChess.h Resource.h
  108.  
  109. TimeCnt.obj  : $*.c PmChess.h Resource.h
  110.  
  111. InitMenu.obj : $*.c PmChess.h GnuChess.h Resource.h
  112.  
  113. NumDlg.obj   : $*.c PmChess.h Resource.h
  114.  
  115.  
  116.  
  117. PmChess.exe: $(ALL_OBJ1) $(ALL_OBJ2) $(ALL_OBJ3) $(ALL_OBJ4) PmChess.def PmChess.lnk PmChess.res
  118.     link @PmChess.lnk
  119.     rc PmChess.res PmChess.exe
  120.