_ARCH := 2801 28015
OBJDIR := $(_ARCH:%=_%)
$(OBJDIR):
[EMAIL PROTECTED] -d $@ ] || mkdir -p $@
[EMAIL PROTECTED](MAKETARGET)
The rule runs only once. If you want to build two targets, this is not the way to do it. Try this instead (I have grossly simpified it):
_ARCH := 2801 28015
OBJDIR := $(_ARCH:%=_%)
_%:
echo Hi
all: $(OBJDIR)
Martin
_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make
