Skip to main content
GameDev.net gamedev.net
🔒 Locked

Automake/Autoconf Examples?

Started by fireshadow4126 May 24, 2012 at 10:15 PM 1 replies 1.7k views
Original Post
fireshadow4126
fireshadow4126
Hello,

I'm working on my C++ game engine from Ubuntu by using the old text-editor/console approach. So far, I've simply been creating the makefiles myself, but as there get to be more subdirectories in the source folder, I've realized I need something more efficient.

The solution to this seems to be to use the GNU Build System, ie, autoconf, automake, etc. The example that comes with automake, amhello, seems too simple for me, but I find that the manuals go too in depth for my purposes.

Could someone point me to a simple tutorial or example on how to write good automake/autoconf files?

Thanks in advance!
"Welcome to the desert of the real." -- Morpheus, The Matrix.
Craig_jb
Craig_jb
The premake build system is by far my favorite. Maybe you will find it useful.

Premake allows you to write build configurations in Lua, and then use simple commands to generate makefiles, Visual Studio projects, or other files for your project. I describe my solution and all its projects once, and then generate any build file I want.

http://industriousone.com/what-premake
fireshadow4126
fireshadow4126
Thanks, I will look into it.
"Welcome to the desert of the real." -- Morpheus, The Matrix.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.