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 [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to