remake
remake copied to clipboard
Enhanced GNU Make - tracing, error reporting, debugging, profiling and more
Right now, if, say [`configure`](https://github.com/rocky/remake/blob/7619a01217cf84c409a3ebc98fd3a732f72a4ce6/autogen.sh#L19) fails, `autogen.sh` would continue execution and exit with the exit code of the last command. (Caught this on a box with missing libreadline.) This is...
When I first look at a build to profile I normally find the box with the most cores on it and run /usr/bin/time -v make -j NumOfCPU I then look...
@bstarynk this addresses the build failure and has a test for GNUremakefile However I don't see that the `this_` functions work. For example for this Makefile ```.PHONY: x B =...
This patch add new functions : * `$(this_line)` - inspired by `__LINE__` in C and expanded to the current file name (e.g. `Makefile`) * `$(this_file)` - inspired by `__FILE__` in...
… executed matches a particular regex. Got a permission from my company to contribute. Here's what worked for me. It's rather an invitation to review, there are some things to...
Hello, I am trying to use remake from the source code. But there is a build error while doing the compile. The error information is as below. I just run...
In which I cannibalize func_error and func_strip into a new func_trace builtin used as `$(trace ...)`. This is used similar to tracing function in functional programming languages: they both print...
I want to debug the following Makefile (the actual problem is irrelevant; the `make-dirs` call expands to nothing): ``` define _make-dir $1/.dum: $(not-dir $1)/.dum mkdir $(dir $@) touch $(dir $@)/.dum...
Related to https://github.com/rocky/remake/issues/123 , I want to debug the following Makefile; the make-dirs call expands to nothing: ``` define _make-dir $1/.dum: $(not-dir $1)/.dum mkdir $(dir $@) touch $(dir $@)/.dum endef...
Information from remake's debugger REPL can be rather verbose sometimes; it could be nice to have some post-processing capability, such as running grep on output. The `shell` command exists, but...