From: ian Date: Sun, 20 Mar 2005 01:41:36 +0000 (+0000) Subject: use -O2 -g X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ijackson/git?a=commitdiff_plain;h=03b1b4468f473d91fbae9769ce49d1b849eaf4f7;p=trains.git use -O2 -g --- diff --git a/layout/Makefile b/layout/Makefile index a5a2d3e..b0d5b99 100644 --- a/layout/Makefile +++ b/layout/Makefile @@ -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