gEDA-user: OT help with Make

2010-07-12 Thread myjunk stuff
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

Re: gEDA-user: OT help with Make

2010-07-12 Thread Mark Rages
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

Re: gEDA-user: OT help with Make

2010-07-12 Thread myjunk stuff
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

Re: gEDA-user: OT help with Make

2010-07-12 Thread Mark Rages
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

Re: gEDA-user: OT help with Make

2010-07-12 Thread DJ Delorie
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