Codebase list amphetamine / 035e6d2c-9cbb-4e28-8bf6-d20357d488ef/main INSTALL
035e6d2c-9cbb-4e28-8bf6-d20357d488ef/main

Tree @035e6d2c-9cbb-4e28-8bf6-d20357d488ef/main (Download .tar.gz)

INSTALL @035e6d2c-9cbb-4e28-8bf6-d20357d488ef/mainraw · history · blame

1. Make sure SDL is installed correctly.

2. Have a look at the 'Makefile' and edit it where appropriate.
   - 'USE_LIB_XPM=FALSE' if you don't have libXpm
   
3. Type 'make'. This should build the Amphetamine binary. You can safely
   ignore the numerous warnings. If the compilation fails, you are in
   in trouble. Try to tweak the 'Makefile'. You have to delete
   '-funroll-loops' if you are still using gcc 2.7.2.3 
   
4. Become root and type 'make install'. This will install the binary to
   the directory specified in the makefile (default is '/usr/local/games/amph').
   It will also create a symbolic link.

5. You have managed the difficult bit. Now, you have to install the data files
   required by the game. Get 'amphetamine-${VERSION}.tar.bz' an do:
   - cd /usr/local/games
   - bzip2 -cd ~/amphetamine-data-0.8.tar.bz | tar xv
   
   (Note: the exact commands depend on your syste configuration)     

6. type 'amph' in order to run the game and have fun!