From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: Date: Mon, 17 Jan 2011 12:51:46 -0300 Message-ID: From: "Federico G. Benavento" To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [9fans] `mk` (from Plan9 ports) efficiency related issue Topicbox-Message-UUID: 9d1f3d40-ead6-11e9-9d60-3106f5b1d025 >> Your email also doesn't explain why you cannot generate a "normal" >> mk file. > > =C2=A0 =C2=A0I'm afraid I don't understand the question. What do you mean= by > "generating a normal mk file"? > =C2=A0 =C2=A0A) Do you mean why am I using a generator that writes the `m= k` > script instead of writing the `mk` script myself by hand? The answer > to this is complexity: writing `mk` is Ok when you have a simple > application to build, but as the application grows larger so does the > make script. (And using meta rules is not always possible.) > =C2=A0 =C2=A0B) Why isn't the output script a "normal" `mk` script? Actua= lly is > a very simple script (no meta-rules, no shell expansion, etc.). It's > just big. :) > > a normal mkfile does have meta-rules and if you have so many targets wouldn't it make sense to have more mkfiles? --=20 Federico G. Benavento