On Tue, 2009-09-22 at 10:24 -0600, John Calcote wrote: > On 9/22/2009 10:18 AM, Paul Smith wrote: > > So, in your case, running the command "mkdir -p gllib; cd gllib; > > make" (which by the way, is not well-formed; it should be: > > > > mkdir -p $@ && cd $@ && $(MAKE) > > > > I'm kinda curious to know what $(MAKE) is expected to do in this case. > You just created the directory, so it's empty. cd'ing into it and > running make won't really amount to much, will it?
Heh. Good point. The first time, at least, this must rely on builtin rules. However, make even without a makefile is smart enough to do things like check out a makefile from RCS or similar, then operate on that. Also, you can set the environment variable MAKEFILES to makefiles that contain other rules. But, most likely this is not what really appears in the makefile. _______________________________________________ Help-make mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-make
