Jan Nieuwenhuizen schrieb am 2001-09-16, 19:24:

>Jan Nieuwenhuizen <[EMAIL PROTECTED]> writes:
>
>> "Gerrit P. Haase" <[EMAIL PROTECTED]> writes:
>> 
>> > g++ -s -o out/Gerrit   -s  -L/usr/local/lib -lguile -s -lm
>> > /usr/lib/libm.a(libcmain.o): In function `main':
>> > /cygnus/netrel/src/cygwin-1.3.3-2/winsup/cygwin/lib/libcmain.c:31: undefined 
>reference to `WinMain@16'
>> 
>> You have an environment variable set as NAME, see
>> 
>>     http://mail.gnu.org/pipermail/lilypond-devel/2001-August/000035.html
>
>I've looked into this, and it seems that your make is broken.
>
>From the info pages:
>
>     (If the `-e' flag is specified, then values
>    from the environment override assignments in the makefile.  *Note
>    Summary of Options: Options Summary.  But this is not recommended
>    practice.)
>
>so, an environment variable (eg NAME) should NOT override the variable
>used in the makefile.
>
>Could you try what happens if you make this makefile:
>
>#env.make:
>HELLO=hello
>default:
> @echo $(HELLO)
>
>
>and then do:
>
>
>    $ unset HELLO
>    $ make -f env.make
>    $ export HELLO=bug
>    $ make -f env.make
>
>Both make runs should say `hello'.   If they do not, file a bug report
>against your make maintainer (Cygwin for Gerrit; Paul, what platform
>are you running?).

$ unset HELLO

$ make
hello

$ export HELLO=bug

$ make
hello

$ cat Makefile
HELLO=hello
default:
        @echo $(HELLO)

$ set | grep HELLO=
HELLO=bug

Nope, seems to be o.k.

Gerrit


-- 
=^..^=

_______________________________________________
Lilypond-devel mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to