Date: Sat, 04 Jan 2003 16:52:02 -0800 From: Tim Kientzle <kientzle@acm.org> To: freebsd-hackers@FreeBSD.ORG Subject: Makefile Style Questions Message-ID: <3E1781B2.6090005@acm.org>
next in thread | raw e-mail | index | archive | help
Is there any documentation similar to style(9) that specifically addresses Makefile style issues? In particular, I'm wrapping up my work on /rescue, which is mostly a lot of Makefile hacking, and I want to make sure I'm not violating any taboos. ;-) 1) Is there an accepted use for 'COPTS'? My current draft adds COPTS support to bsd.lib.mk. I can then use COPTS to add flags when I re-compile portions of the source tree for /rescue. I could instead create a new Makefile variable and add it to bsd.prog.mk and bsd.lib.mk if there is an existing convention for use of COPTS. 2) I notice that some existing preprocessor and Makefile variables use leading underscores, some don't. Is there a specific style convention on this? Thanks for pointers, Tim Kientzle To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E1781B2.6090005>