jbkim wrote:
i found error of make -j option.

it is very serious .

with -j1 very well working create directory command(cp command) in Makefile.

but -j2 , -j3, -j4......is not working

i don't know that .

If you are trying to create a directory from your makefile, then you need to make sure that commands which rely on the creation do not run until the directory exists. You can do this by inserting appropriate dependencies in the makefile.


example:

make-output:
        mkdir -p outdir

copy-foo: make-output
       cp foo outdir

copy-bar: make-output
       cp bar outdir

--
Martin
__ distcc mailing list http://distcc.samba.org/
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/distcc

Reply via email to