help-make
[Top][All Lists]
Advanced

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

Re: how to create a single rule to build a directory as necessary


From: John Calcote
Subject: Re: how to create a single rule to build a directory as necessary
Date: Tue, 22 Sep 2009 10:24:36 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.1) Gecko/20090715 Thunderbird/3.0b3

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?

John




reply via email to

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