Can someone point me in the right direction, I am stuck -
my Makefile looks something like this:
type=RESISTIVITY
resist: resistivityAnalysis.csv
pdar: PdArAnalysis.csv
resistivityAnalysis.csv : list_of_dependant_files
build_resistivityAnalysis type
On Mon, Jul 12, 2010 at 4:15 PM, myjunk stuff carzr...@optonline.net wrote:
Is there a way to do the following:
target1 :
rule1
target2 :
execute target1
target2: target1
Regards,
Mark
markra...@gmail
--
Mark Rages, Engineer
Midwest Telecine LLC
markra...@midwesttelecine.com
Is there a way to do the following:
target1 :
rule1
target2 :
execute target1
target2: target1
I'm sorry - what I meant to say was:
var1=whatever
target1:
rule1 var1
target2:
var1=something_new
target1
___
geda-user mailing
On Mon, Jul 12, 2010 at 4:24 PM, myjunk stuff carzr...@optonline.net wrote:
Is there a way to do the following:
target1 :
rule1
target2 :
execute target1
target2: target1
I'm sorry - what I meant to say was:
var1=whatever
target1:
rule1 var1
target2:
var1=something_new
Target-specific variables work like this:
VAR = 0
all : target1 target2
target1 : VAR = 1
target2 : VAR = 2
% :
echo VAR is ${VAR}
What you want is something like this:
target2 :
$(MAKE) VAR=4 target1
The $(MAKE) is slightly magic; Make knows you're calling it
recursively
5 matches
Mail list logo