Re: Towards non-recursive makefiles

From: Michael Elizabeth Chastain (mec@shout.net)
Date: Sun Jan 23 2000 - 17:58:13 EST


Hmmm. Consider this use case: a developer is working on the qnx4 file
system. They want to edit code, make qnx4fs.o, insmod qnx4fs.o, play with it,
rmmod qnx4fs, and edit the source again.

In the baseline Makefiles they do this: "make SUBDIRS=fs/qnx4 modules"
in their "make" window. In my Dancing Makefiles, it's even easier:
they type "make" in the current directory and it makes qnx4fs.o.

With a non-recursive Makefile, they would do: "make" in the top-level
directory and it would grovel over the whole tree noticing that some
files in fs/qnx4 are the only thing that changed.

So, you have to make that fast enough (and quiet enough) to work well
in that use case.

So how do you handle that use case?

Note: I would *like* make to grovel over the whole tree if it can be made
fast enough, because that is more correct than relying on the developer.

Michael

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jan 31 2000 - 21:00:11 EST