[PATCH] - Make - print rule with -d flag

2007-04-14 Thread Duane Ellis
I often debug Makefiles and often ask: where did that command (rule) come from? My solution has always been to use combinations of "-d" and "-p" and attempt to sort through the copious output. With "-p" - make prints the resulting makefile. With "-d" - make tells you what it is doing. With

Re: problem computed variables

2003-03-02 Thread Duane Ellis
paul>> It's very easy, though, just do this: paul>> DBG_ORDER = $(foreach V,$(RAW_DBG_ORDER),$($(V))) paul>> You can make a function out of it and use $(call ...) if that makes it paul>> clearer in your makefile. Thank you, works like a charm. --Duane __

problem computed variables

2003-03-01 Thread Duane Ellis
Hi, I'm using GNU make 3.79.1 (with redhat 7.3 intel) I'm stuck - I can't seem to figure out how to do a computed variable reference, or maybe this is a subst function call. This describes the problem I have two non trival list of make targets that need to be built by make. The lists are really

Question/how-to

2000-08-21 Thread Duane Ellis
mand dependencies every time a target in the group is encountered in the dependency scan. -Thanks. Duane Ellis.

assigment operator ?= problems.

2000-06-25 Thread Duane Ellis
version: $ make -v GNU Make version 3.77, by Richard Stallman and Roland McGrath. os: Red Hat 6.1, i686. (Make was built/configured by Redhat, not me) the info file states: (Node: Flavors, and numerous others) at the end of the page, it says: ---