Hi,

I'd like to do something like this...

    SRC = ./one/foo.c ./two/bar.c
    target:
        for file in $(SRC) ; do \
         $(HACK) < $$file > ./log/$$(basename file).log

to produce the commands...

    hack < ./one/foo.c > ./log/foo.c.log
    hack < ./two/bar.c > ./log/bar.c.log


Double $ kills all my ideas, and I can find nothing by searching the internet!

Thanks for your help!
Cheers!
- Shawn
[EMAIL PROTECTED] <<== Please Reply to




_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to