chiark / gitweb /
use -O2 -g
authorian <ian>
Sun, 20 Mar 2005 01:41:36 +0000 (01:41 +0000)
committerian <ian>
Sun, 20 Mar 2005 01:41:36 +0000 (01:41 +0000)
layout/Makefile

index a5a2d3e9d6f83ac87f0705a0edd841dbad9fa085..b0d5b996b480ebf18f30194c176ce4e78077174b 100644 (file)
@@ -36,7 +36,8 @@ o=>$@.new && mv -f $@.new $@
 
 CFLAGS=                -Wall -Wwrite-strings -Wpointer-arith \
                -Wstrict-prototypes -Wmissing-prototypes \
-               -Wmissing-declarations -Werror
+               -Wmissing-declarations -Werror $(OPTIMISE)
+OPTIMISE=      -O2 -g
 CPPFLAGS=      -D_GNU_SOURCE
 LINK=          $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $+ $(LIBS)
 NETPBM=                -lnetpbm