Hi

On Wed, Jul 22, 2009 at 6:47 PM, Rishi Agrawal<[email protected]> wrote:
> I have used separate makefiles and added this piece of code in the Makefile
> in the topmost directory
>
> @for dir in ${subdirs}; do \
>       (cd $$dir && $(MAKE) all) \
>       || case "$(MFLAGS)" in *k*) fail=yes;; *) exit 1;; esac; \
>     done && test -z "$$fail"
>
> This loop goes into each and subdir and executes "make"

So the above lines are the only thing done by the main Makefile?

With my limited knowledge of Makefile and Bash scripting, it seems
nothing is suspicious there.

perhaps a small experiment first, what's the result if you take out
the "include" line in your user space Makefile?

-- 
regards,

Mulyadi Santosa
Freelance Linux trainer
blog: the-hydra.blogspot.com

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [email protected]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to