environment:

o Win2kSP1
o cygwin 1.1.5(0.29/3/2) 2000-11-02
o MAKE_MODE unix

the following makefile:

------------------------------------------------
SHELL = /usr/bin/bash

foo = `/usr/bin/uname -a`
bar = $(shell /usr/bin/uname -a)

test:
        @echo "backticks work:"
        @echo $(foo)
        @echo "shell doesn't:"
        @echo $(bar)
------------------------------------------------

generates:

backticks work:
CYGWIN_NT-5.0 MIZU 1.1.5(0.29/3/2) 2000-11-02 02:01 i686 unknown
shell doesn't:
/usr/bin/bash: -c: line 1: syntax error near unexpected token `1.1.5(0'
/usr/bin/bash: -c: line 1: `echo CYGWIN_NT-5.0 MIZU 1.1.5(0.29/3/2) 2000-11-02 02:01 
i686 unknown'
gmake: *** [test] Error 2

my question is, should $(shell) work?

thanks,

-John Turner

--
Want to unsubscribe from this list?
Send a message to [EMAIL PROTECTED]

Reply via email to