help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: newbie question re dependencies


From: Dave Hylands
Subject: Re: newbie question re dependencies
Date: Fri, 1 Apr 2005 13:49:22 -0800

>   s> byprice.cgi : LOCPTH = /home/swani/web2/dat
>   s> byprice.cgi : DOMAIN = /domains/harvestview.com/cgi-bin
>   s> byprice.cgi : CHAPTERS = u40.lst u60.lst u100.lst u500.lst
> 
>   s> byprice.cgi: $(BOOKPROG) $(DEFCODE) $(CHAPTERS) $(BOOK)
> 
>   s> So, how to do this correctly?

You could also do something like

    byprice_CHAPTERS = u40.lst u60.lst u100.lst u500.lst

which gives you a unique variable for each target.

-- 
Dave Hylands
Vancouver, BC, Canada
http://www.DaveHylands.com/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]