
The following changes need to be made to the Makefile and various other files
before compiling the SatTrack code. These are only rather brief instructions. 
More detailed information is given in the documentation file 
SatTrack-3.1.6/doc/sattrack.doc and in the Makefile itself.


0.   Create a symbolic link by typing 'ln -s SatTrack-3.1.6 SatTrack' 
     or rename SatTrack-3.1.6 by typing 'mv SatTrack-3.1.6 SatTrack'.

1.   Specify machine type and compiler flags in the 
     Makefile in 'SatTrack/src'. Example:

     CPU       = Sun-4/SunOS
     CC_CMACH  = -O3 -DSTDLIB
     CC_LMACH  =
     CC        = gcc


2.   Specify user compile options for SatTrack in 
     the Makefile. Example:

     CC_CUSR   = -DHOMEDIR -DREVERSEVIDEO -DXWINDOW


3.   Specify in the Makefile where X11 subdirectory with 
     header files is installed. Example:

     X11       = /usr/include                or maybe

     X11       = /usr/local/include          or maybe

     X11       = /usr/openwin/include


4.   Specify X11R5 linker options in the Makefile.
     Example:

     LX11      = -lX11 -lXt     or (if link path is not set) maybe 

     LX11      = -L/usr/lib/X11 -lX11 -lXt


5.   Specify various other parameters in 
     'SatTrack/src/include/sattrack.h', if desired. 

     Make sure to edit 'sattrack.h' in 'src' and 'defaults0.dat' in 'data' 
     if your X terminal type is NOT 'xterm'. 


6.   Copy the X11 bitmap file with the desired type 
     and size of the world map to world.xbm 
     (in 'src/include'). Example:

     cp  world_lines_1.xbm  world.xbm


7.   Change into the 'src' directory and type:

     make all

     You should expect a very clean compilation.


8.   Include 'SatTrack/run' in your binary path.


9.   Start SatTrack by typing 'sattrack -q -g' for a quick demo.

