home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / games / gnuchess.zip / MAKEFILE < prev    next >
Text File  |  1988-10-23  |  1KB  |  38 lines

  1. # This file contains the Makefile for CHESS.
  2. #   Copyright (C) 1986 Free Software Foundation, Inc.
  3. #
  4. # This file is part of CHESS.
  5. #
  6. # CHESS is distributed in the hope that it will be useful,
  7. # but WITHOUT ANY WARRANTY.  No author or distributor
  8. # accepts responsibility to anyone for the consequences of using it
  9. # or for whether it serves any particular purpose or works at all,
  10. # unless he says so in writing.  Refer to the CHESS General Public
  11. # License for full details.
  12. #
  13. # Everyone is granted permission to copy, modify and redistribute
  14. # CHESS, but only under the conditions described in the
  15. # CHESS General Public License.   A copy of this license is
  16. # supposed to have been given to you along with CHESS so you
  17. # can know your rights and responsibilities.  It should be in a
  18. # file named COPYING.  Among other things, the copyright notice
  19. # and this notice must be preserved on all copies.
  20. #
  21. #
  22. # Flags for compiling GNU Chess
  23. #    DISPLAY   - allow use of curses based display
  24. #    CHESSTOOL - allow use of SUN-window front-end
  25. #    MSDOS     - allow compiling for a MS-DOS environment
  26. #CFLAGS = -DCHESSTOOL -O # for Suns
  27. CFLAGS = -DDISPLAY -O -lcurses -ltermcap # for curses
  28.  
  29. gnuchess: gnuchess.c
  30.     cc -o gnuchess gnuchess.c $(CFLAGS)
  31.  
  32. # src disted in two parts because it's so big
  33. gnuchess.c: src-catted
  34. src-catted: gnuchess.c1 gnuchess.c2
  35.     cat gnuchess.c1 gnuchess.c2 >gnuchess.c
  36.     touch src-catted
  37.     # rm gnuchess.c1 gnuchess.c2
  38.