'BSD' make vs gmake on FBSD

Chuck Swiger cswiger at mac.com
Sat Jul 9 16:14:05 GMT 2005


Philip M. Gollucci wrote:
> In libapreq2, FreeBSD users must use gmake mainly because of only 2 
> makefile rules like the following:
> 
> %.html: $(POD_DIR)/%.pm
> 
> What's the easiest way to duplicate this behavior under (F)BSD make ?

You could add .html and .pm to .SUFFIXES, and create a suffix rule which does 
whatever it takes to build the html from to pm files....

-- 
-Chuck



More information about the freebsd-questions mailing list