This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Sequential build of libjava


> Well, I don't know if anyone cares but here's a little test:
> 
>   echo 'all: ; +@: hi ' | make -n -f- 2>/dev/null
> 
> This will print both lines:
> 
>   echo hi
>   hi
> 
> if make groks "+" properly, and either just "echo hi" or maybe nothing
> (exiting with an error) if it doesn't.

So what's happening here?

bash-2.04$  echo 'all: ; +@: hi ' | make -n -f- 2>/dev/null
: hi 
bash-2.04$ make -v
GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.
Built for sparc-sun-solaris2.8
Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 2000
        Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

Report bugs to <bug-make@gnu.org>.

Brad


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