On Fri Oct 19 01:33:13 2012, psm...@gnu.org (Paul Smith) wrote:
> On Thu, 2012-10-18 at 21:32 -0700, Rakesh Sharma wrote:
> > sp ;= $(empty) $(empty)
>
> Change this to ":=" instead of ";=" and it will work.
A lint for make
On Tue Nov 20 11:04:25 2012, kosala.atapa...@gmail.com (Kosala Atapattu) wrote:
> Hi All,
[...]
>
[...]
> %.html : %.page
> echo $<
> perl compile_page.pl -T template/main.tpl -o $@ $<
>
>
>
> What did I do wrong here.. according to the doc I should be able to do this
> rt?
L
rg/bugs/download.php?file_id=21887
Discussed here:
http://savannah.gnu.org/bugs/?30381
Since I wrote it, I've been looking for use cases
other than my own. They seem to be pretty rare.
On the other hand, the patch is rather simple;
it may even make pattern rules easier to und
On Fri Mar 22 01:37:01 2013, ma...@lysator.liu.se (Magnus Fromreide) wrote:
> [...]
> I couldn't find anything about .PHONY making it's dependants into
> targets in the manual.
Um, that's the whole purpose of a .PHONY rule.
http://www.gnu.org/software/make/manual/html_node/Phony-Targets.html
plicitly included makefile fragment.
This offers a cleaner syntax and a few more options,
e.g. making generation conditional on the generating script:
include vars.mk
vars.mk: vars.sh
$< > $@ || rm -f $@
--
Reinier Post
http://www.win.tue.nl/~rp/
___
Help-make mailing list
Help-make@gnu.org
https://lists.gnu.org/mailman/listinfo/help-make
tackoverflow.com/questions/21442674/makefile-with-shell-usr-bin-r-handling-multilines
Someone is trying to use R as $(SHELL) and running into a
similar problem with passing multiple lines.
--
Reinier Post
TU Eindhoven
___
Help-make mailing list
Help-ma
kefile (the rules portion).
>
> Considering that make is nearing 4 decades, it's hard to believe
> that such utilities are not already available.
Some are, but it's hard for them to guarantee 100% accuracy
(leaving aside the issue of dynamic rule generation),
as makefile syntax ma
he rule invocations executed. Which means variables are expanded,
inferences followed, unused targets and rules omitted.
So the resulting graphs will usually be very different, especially
when variables, implicit rules, include, eval, etc. are used.
> Regards,
>
> Rakesh
--
Reinier
eral case. For instance: a Makefile may generate
and include another Makefile that only includes this special target
(for rules appearing in the first Makefile)
on nights with a full moon.
I would much prefer replacing the normal separator symbol ':'
(in a backwards compatibl
ke/
unpack it and install it using 'make install'.
Then retry whetever you were doing.
--
Reinier Post
___
Help-make mailing list
Help-make@gnu.org
https://lists.gnu.org/mailman/listinfo/help-make
re --prefix=$HOME
instead (and put $HOME/bin in your $PATH).
--
Reinier Post
___
Help-make mailing list
Help-make@gnu.org
https://lists.gnu.org/mailman/listinfo/help-make
As you can see, this isn't hard,
and it probably won't break anything, either, unless you
have lots of complicated homegrown Makefiles.
--
Reinier Post (not speaking for the make project, just a user)
___
Help-make mailing list
Help-make@
or link how
> this can be implemented in a nice (manageable) way is appreciated.
The problem has been discussed on this list several times,
but I don't recall seeing a good solution.
So my suggestion is that you scan the archives to see how your idea
relates to what others have already
;re checking it like this:
%.o: %.c
$(CC) -c -o $@ $<
@echo $?
That won't work: each line will use a separate shell invocation, unless
.ONESHELL:
is specified.
--
Reinier Post
___
Help-make mailing list
Help-make@gnu.org
https://lists.gnu.org/mailman/listinfo/help-make
On Tue Aug 4 13:24:51 2015, step...@wanderinghorse.net (Stephan Beal) wrote:
> On Mon, Aug 3, 2015 at 6:38 PM, Mike Gran wrote:
>
> > On a 32-bit box, I need to add it as
> > -I/stage2/lib/dbus-1.0/include
> >
> > One a 64-bit box, I need to add it as
> > -I/stage2/lib64/dbus-1.0/include
[...]
n the `getconf' command delivers output different than either 32 or 64.
>
> # another method could be to invoke the "uname -m" command.
How portable is this software supposed to be?
uname exists on all the Unixy systems I've used;
I'm not sure
/#'
should do the trick.
If you don't want to modify make itself, that is.
--
Reinier Post
TU Eindhoven
___
Help-make mailing list
Help-make@gnu.org
https://lists.gnu.org/mailman/listinfo/help-make
d be added to directly call the main() function
of arbitrary compiled executables so as to avoid the fork().
> Regards,
>
> Tim
--
Reinier Post
___
Help-make mailing list
Help-make@gnu.org
https://lists.gnu.org/mailman/listinfo/help-make
On Wed Apr 20 10:02:03 2016, grothausmann.ro...@mh-hannover.de (Grothausmann,
Roman Dr.) wrote:
> Dear mailing list members,
[...]
>
> However, GnuMakes debug output seems to yield different dependencies
> depending on whether a file already exists or not, see description
> in https://github.com
runs differ by
using different argument values or environment variable values,
I incorporate those values into the target names. It's a hassle
and it isn't pretty, but it means you don't need tricks to override
make's built-in logic on when to remake files.
--
Reinier Post
__
20 matches
Mail list logo