This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: make and $(shell uname -a)


Hi John,

[...]
> 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?

Definately yes, look at your output! The error mesage indicates, that GNU
make has substituted $(bar) correctly.
Chris has already shown you the solution.

Greetings,
Jörg

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]