On 11.06.2010 11:29, Oleksandr Gavenko wrote:
Just do:

$ mkdir test
$ cat <<EOF >test/test.sh
#!/bin/sh
echo I am HERE
EOF
$ cat <<EOF >Makefile
export PATH := test:$(PATH)
$(shell test.sh)
all:
test.sh
EOF

$ make
make: temp.sh: Command not found # from $(shell ...)
temp.sh
I am HERE # from target command

Sorry for temp.sh / test.sh naming. All time expect 'test.sh'.
Bad copy/paste.

--
С уважением, Александр Гавенко.

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

Reply via email to