Hi,

I am using gmake version 3.77 under Linux. My Makefile uses an include
which is built with commands from the Makefile. In the nonparallel mode
(without -j), make does the Re-execution described in the manual after
generating the include. In the parallel mode (make -j), this remains
undone: The include is built, but make does not restart, so the rules from
the include do not apply.

What do I expect: Same behaviour from 'make' and 'make -j' calls.


Makefile:
>>>>>>>>>>>>>
include a.inc

all: a.inc

a.inc:
        echo "all:" > $@_
        echo "  echo doing all" >> $@_
        echo >> $@_
        echo ".PHONY: all" >> $@_
        mv $@_ $@
<<<<<<<<<<<


/home/jork> uname -a
Linux maria 2.2.1 #17 SMP Mon Mar 1 12:48:29 CET 1999 i686 unknown
/home/jork> make --version
GNU Make version 3.77, by Richard Stallman and Roland McGrath.
Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98
        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 <[EMAIL PROTECTED]>.



-- 
Dipl.-Inf. Jork Loeser               Dresden University of Technology
Department of Computer Science       Operating Systems Research Group
Phone: +49 (351) 463-8056            Fax: +49 (351) 463-8284
Email: [EMAIL PROTECTED] WWW: os.inf.tu-dresden.de/~jork

Reply via email to