Blob Blame History Raw
--- mathomatic-14.2.8/makefile~	2009-01-03 13:01:27.000000000 +0100
+++ mathomatic-14.2.8/makefile	2009-01-05 12:18:10.000000000 +0100
@@ -2,7 +2,8 @@
 # Currently uses gcc only options in CFLAGS, just remove them for other C compilers.
 
 VERSION		= `cat VERSION`
-CFLAGS		+= -O2 -Wuninitialized -Wunused -Wshadow -Wformat -Wparentheses -Wno-char-subscripts # gcc specific flags
+OPTFLAGS	?= -O2
+CFLAGS		+= $(OPTFLAGS) -Wuninitialized -Wunused -Wshadow -Wformat -Wparentheses -Wno-char-subscripts # gcc specific flags
 #CFLAGS		+= -Wall # Copy cproto.h to proto.h to compile with -Wall with no complaints.
 CFLAGS		+= -DUNIX -DVERSION=\"$(VERSION)\" # C compiler flags
 LDLIBS		+= -lm # libraries to link