From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@cse.psu.edu From: steve.simon@snellwilcox.com Message-Id: <981768180@snellwilcox.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Id: <981768180-1@snellwilcox.com> Content-Transfer-Encoding: 7bit Subject: [9fans] newbie mk question Date: Fri, 4 Oct 2002 14:31:42 +0100 Topicbox-Message-UUID: fcaffc42-eaca-11e9-9e20-41e7f4b1d025 How do I tell mk that I want to compile some C source from the current dir, some from another dir, putting the .$(O) files in the current dir and then link the whole lot together. gmake has a .path= construct which seems a bit ugly to me, I'am sure there must be an elegant way to do this in mk but how? Thanks, -Steve