Skip to content
rocky edited this page Mar 27, 2012 · 41 revisions

Remake is a patched GNU Make 3.82. It adds improved error reporting, tracing, and a debugger.

Although there’s a full debugger here, most of the time I can get by using no options since normal output is a little more verbose and detailed. When that isn’t enough, I use the —trace or -x option, e.g

remake -x

But if you want the full debugger, use —debugger or -X:

remake -X

Also, if there is project and you want a list of “interesting” targets, try:

remake —tasks

If the project has commented its Makefile using remake-friendly comments you may get output like this:

ChangeLog # create ChangeLog fom git log via git2cl build # Do what it takes to build software locally check # Run all tests clean # Remove OS- and platform-specific derived files. dist # Create source and binary distribution distclean # Remove all derived files. Like “clean” on steroids. install # Install package test # Same as check

Type `remake —help` a list of options. See also http://bashdb.sourceforge.net/remake/

Here’s what we got so far…

Clone this wiki locally