help-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

background jobs in makefile


From: James
Subject: background jobs in makefile
Date: Wed, 08 Dec 2010 15:04:04 -0000
User-agent: G2/1.0

all:
        for f in xx yy; do\
                (make $$f &);\
        done;\
        wait
        @echo [ $@:done ]

xx yy:
        sleep 2
        @echo [ $@:done ]


How do I put backgroud jobs in makefile?
"wait" does not seem to work here.

TIA
jl



reply via email to

[Prev in Thread] Current Thread [Next in Thread]