next up previous contents
Next: Running CHEOPS Up: CHEOPS v1.0 User Manual Previous: Introduction   Contents

Compiling CHEOPS

A standard Makefile is provided; under most Unix systems simply typing make will suffice. For other systems, simply compile all the .cpp files and link in the C++ math and standard template libraries. Use your compiler's optimization switch if desired. Here is an example which works with the GNU C++ Compiler:

g++ -O3 -o cheops.exe cheops.cpp ChessBoard.cpp StdAfx.cpp Player.cpp HumanPlayer.cpp ComputerPlayer.cpp move.cpp -lstd++ -lm



Tristan Miller 2002-02-06