From: Petr Baudis Date: Fri, 29 Jul 2005 13:40:11 GMT Subject: Makefile: COPTS vs CFLAGS Message-ID: <20050729134011.GD21909@pasky.ji.cz> Hello, one more thing - should we keep the $COPTS variable? Most projects (including Cogito) have the C flags controlled by the $CFLAGS variable. What I would propose: -COPTS=-g -O2 -CFLAGS=$(COPTS) -Wall +CFLAGS?=-g -O2 +CFLAGS+=-Wall That is, if user does not specify custom $CFLAGS, default to "-g -O2", and always append -Wall (and more after I'll send my Makefile patches). Opinions? -- Petr "Pasky" Baudis Stuff: http://pasky.or.cz/ If you want the holes in your knowledge showing up try teaching someone. -- Alan Cox