Installation instructions for "The Life of a Geek:"

0. The program requires the following to build:

        a. A C library which supports ANSI C / C89 / ISO/IEC 9899:1990
	   -C99 support is optional and recommended.
 	   -glibc 2.1 or later is recommended.
	b. A C++ library which supports the ISO 14882 C++ standard.
	   -gcc 3.x or later's included library is recommended.
        c. A C/C++ compiler
	   -gcc is recommended, 3.x or later preferred.
	d. Make program
	   -GNU make is recommended.
	e. An rm program
	   -GNU fileutils is recommended.	

    The program was successfully compiled on Cygwin 1.3.22 and
    Slackware Linux 9.0.

1. Edit "Makefile" and make sure the following settings are correct:
	
	CXX: Your C++ compiler.
        CXXFLAGS: Compiler flags. Default is -O3 optimizations,
                  -Wall (show all warnings), and for unstable
                  versions, -g (debugging symbols).
        O: What your system uses as an extension for binaries.
           UNIX-based systems don't have any, leave blank.
           Windows with Cygwin uses ".exe".
        RM: What your system uses to remove files.

2. Edit "version.h" and make sure the following settings are correct:
   
   a.   #define HAVE_STRLWR
        
	Uncomment this (remove /* and */) if your compiler/C library includes
        a char* strlwr (char* sz) function. Cygwin does. 

   b.   ISO C99 math functions

	If your compiler/C library doesn't support roundf() and truncf() in 
	<math.h> (pre-glibc-2.1) you need to comment out (add /* and */ around
	code) these three lines of code.

3. Edit "version.c" and make sure the following settings are correct:

        char CURRENCY_SEPARATOR: Change to what you use to separate
                                 currency from its hundredths unit.
        char* MAINFILE, LICENSEFILE, WASTEFILE, JOBFILE:
              These variables define the files which the game uses. 
              Make sure they are set for the location where they will be.
              For example, if you are installing license.lg in
              /usr/local/share/lifegeek, change the value to
              "/usr/local/share/lifegeek/license.lg".

4. Type "make" to build the program.

5. Currently, there is no "make install"/"make uninstall". I will add one in 
the beta version.

Removal:

1. Type "make clean" to remove all object files but keep the compiled program.

2. Type "make distclean" to remove all object files and the compiled program.


Enjoy!
Daniel Quintiliani
coredump@coredumpcentral.org
