pat@SUN.COM (Pat Lashley) (04/04/89)
Using GNU make 3.44 on a sun386i (OS 4.0.1) with the following makefile; the first line echos "TRUE", the second echos "FALSE". I assume that this is related to the parallel execution option; but an explicit `make -j1' has no affect on the output. -------------------------- Makefile ------------------------------------- test: if /bin/test -t 0 ; then echo "TRUE" ; else echo "FALSE" ; fi if /bin/test -t 0 ; then echo "TRUE" ; else echo "FALSE" ; fi --------------------------- output -------------------------------------- pat@serendip.760: make -v GNU Make version 3.44, by Richard Stallman and Roland McGrath. Copyright (C) 1988, 1989 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. if /bin/test -t 0 ; then echo "TRUE" ; else echo "FALSE" ; fi TRUE if /bin/test -t 0 ; then echo "TRUE" ; else echo "FALSE" ; fi FALSE ------------------------------------------------------------------------- Copyright (C) 1989 PM Lashley under the terms of the GNU General Public License PMLashley ...{sun | megatest | sts | zygot}!cohesive!kla!pat <<< I haven't lost my mind. It's backed up on tape somewhere... >>>