[Gtkradiant] [Bug 78] New: need a better Makefile system on *nix

gtkradiant@zerowing.idsoftware.com gtkradiant@zerowing.idsoftware.com
Mon, 28 May 2001 06:01:24 -0500


           Summary: need a better Makefile system on *nix
           Product: GtkRadiant
           Version: 1.2
        OS/Version: Linux
            Status: NEW
 Status Whiteboard:
          Severity: normal
          Priority: P2
         Component: editor
        AssignedTo: ttimo@idsoftware.com
        ReportedBy: ttimo@idsoftware.com

We definitely need a better Makefile system on linux. This starts to get very
important given the new 1.2 architecture.

A few requirements are:
- Automatic handling of dependencies. We give it the source files and it will
maintain the whole dependencies. Need something strong that doesn't bump on
generated headers like include/version.h and include/aboutmsg.h

- managing multiple configuration and dependencies
Need to be able to do a make release or make debug at toplevel. All .o and
binaries, .so should go into seperate directories so that a debug and release
configuration can cohexist in the same tree. (same as win32)

- needs to be easily customizable, make the plugins, make the editor core
modules, make the modules that are required for Q3 support, make the modules
that are required for Wolfenstein support etc.

Given the challenge and how much GNU make blows, it would be interesting to try
with better make tools:

My personal prefered is Ant:
is a java and XML based build tool, very clean and configurable

Another solution would be jam:

This is typically another open task..