-------------------------------------------------------------------------------
AlMake - Allegro make
-------------------------------------------------------------------------------
Generic Allegro build system and template project tree.
This is a group of makefile scripts and templates that helps the developer and
end-user to configure, update, and build Allegro,AllegroGL,etc projects, on many
platforms, and with different compilers, in a easy way (just type "make" and it
will work).
Get updates at official website
http://almake.sf.net/
-------------------------------------------------------------------------------
Project main developer : Kronoman Project started: 26/May/2005
-------------------------------------------------------------------------------
<Kronoman> In loving memory of my father.
<MattyMatt> almake, pure and simple, caught in a world where love survives
-------------------------------------------------------------------------------
Thanks to Schwarzung for the help on making the legacy first makefile system.
Thanks to roaet (Justin Hammond) and Solak for the really great help
with the Macintosh target.
Greetz to KittyCat, Sevalecan, Tomasu, Entheh, Avenger, and #allegro & allegro.cc
in general.
Respects to Harley Owners Group Argentina, and other MCs.
-------------------------------------------------------------------------------
#include <std_disclaimer.h>
"I do not accept responsibility for any effects, adverse or otherwise, that
this code may have on you, your computer, your sanity, your dog, and anything
else that you can think of. Use it at your own risk."
-------------------------------------------------------------------------------
LICENSE
"This package is distributed under the Allegro gift-ware license."
"Allegro is gift-ware. It was created by a number of people working in
cooperation, and is given to you freely as a gift. You may use, modify,
redistribute, and generally hack it about in any way you like, and you do not
have to give us anything in return."
"However, if you like this product you are encouraged to thank us by making a
return gift to the Allegro community. This could be by writing an add-on
package, providing a useful bug report, making an improvement to the library, or
perhaps just releasing the sources of your program so that other people can
learn from them. If you redistribute parts of this code or make a game using it,
it would be nice if you mentioned Allegro somewhere in the credits, but you are
not required to do this. We trust you not to abuse our generosity."
-------------------------------------------------------------------------------
What is this?
This is a project tree with a makefile, ready to put your project files, and use
it with the utility 'make'.
It also includes a simple source code, with a standard initialization and game
loop for Allegro, that can serve as a template for game development with Allegro.
This allows easy distribution of your source code, and makes the process of
building Allegro projects easier, both for the developer and the end-user.
-------------------------------------------------------------------------------
How to use it?
[ TODO - REWRITE THIS ]
You must put your source code inside the ./prj_tree/src/ directory; just
remember to erase the example source code first.
Optionally, you can use the example source code, that is already in that
directory, as a template for your own game.
Then, you call 'make', and theoretically, your project should compile.
Please call also:
make help
make status
for more info.
NOTE
You will probably need customization of the makefile before it compiles
right your project.
NOTE
Also, you may need to convert from UNIX to DOS line ends,
or viceversa (try dos2unix, unix2dos).
REMEMBER
Open the file 'makefile', and look for these vars, customize at will:
BINARY = this is the name without extension that your executable will have when
compiled
SRCSUF = this is the extension of your source code files, like .c, .cpp, etc
GCC = this is the compiler to invoke, like gpp, gcc, etc...
LFLAGS = this are the linker options, like -lalleg; you must add in this other
librarys, like -laldmb -ldumb, etc.
CFLAGS = this are the compiler options, like -Wall, -O3, etc