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

Re: bsd.prog.mk and multiple executables

In message <Pine.GSO.4.30.0105211851380.18452-100000@faulk>
	so spake Bitt Faulk (wfaulk):

> Or get the other subdirectories to compile the other source file in
> properly from the other directory?  I can get it to link it in at
> compile, but not compile it itself.  I keeps wanting to link it in from
> the other directory, but it compiled to the current directory.

You just add things to .PATH:.  See usr.bin/crontab/Makefile for
an example of this (there are also plenty of others in the tree).

 - todd