[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem with target specific variables
From: |
Markus Mauhart |
Subject: |
Re: Problem with target specific variables |
Date: |
Fri, 18 Apr 2003 09:52:29 +0200 |
"Patrick West" <address@hidden> wrote ...
>
>
> [...]
>
> Any suggestions?
replace the line ...
> $(progs) : PROG=$@
... with the following lines (which then needs make-3.80+):
define prog_specific_stuff
$(prog) : PROG=$(prog)
endef
$(foreach prog,$(progs),$(eval $(prog_specific_stuff)))