--- wikisrc/Attic/bsd_make.mdwn 2011/11/21 03:22:58 1.1 +++ wikisrc/Attic/bsd_make.mdwn 2013/07/03 15:51:43 1.4 @@ -13,11 +13,11 @@ * always list non-file targets in a .PHONY:-line. If there ever will be a file of the same name as your phony targets, make would otherwise immediately stop claiming that 'foo is up to date'. Also, if someone updates modification and creation times with make -t, the 'file' won't get created. * Installing neatly to a user-customisable path can be done most cleanly like this: - PREFIX?= /usr/local - BINDIR= ${PREFIX}/bin - LIBDIR= ${PREFIX}/lib - MANDIR= ${PREFIX}/man - FILESDIR= ${PREFIX}/share/misc + PREFIX?= /usr/local + BINDIR= ${PREFIX}/bin + LIBDIR= ${PREFIX}/lib + MANDIR= ${PREFIX}/man + FILESDIR= ${PREFIX}/share/misc Added advantage is that this will work out-of-the-box on pkgsrc and FreeBSD's ports, since these define PREFIX to be their installation paths. @@ -95,5 +95,8 @@ This kind of error is quite subtle since # See also - [[make]] - [[Basic Unix programming]] \ No newline at end of file +* [[examples/Basic Unix programming]] +* [[http://cvsweb.netbsd.org/bsdweb.cgi/src/usr.bin/make/?only_with_tag=MAIN]] +* [[http://cvsweb.netbsd.org/bsdweb.cgi/src/share/mk/?only_with_tag=MAIN]] +* [[http://www.crufty.net/help/sjg/bmake.htm]] +* [[http://www.crufty.net/help/sjg/mk-files.htm]]