Compile with the -O2 and -pedantic flags

This commit is contained in:
Pierre Pronchery 2009-07-29 13:40:48 +00:00
parent 43dd5ac499
commit f0867e00ec
4 changed files with 4 additions and 4 deletions

View File

@ -7,7 +7,7 @@ CC = cc
CPPFLAGSF=
CPPFLAGS= -I ../include
CFLAGSF = -W
CFLAGS = -Wall -ansi -g
CFLAGS = -Wall -g -O2 -pedantic
LDFLAGSF= -L $(PREFIX)/lib -Wl,-rpath $(PREFIX)/lib -l cpp
RM = rm -f
LN = ln -f

View File

@ -2,7 +2,7 @@ subdirs=sets,target
targets=c99
cppflags=-I ../include
cflags_force=-W
cflags=-Wall -ansi -g
cflags=-Wall -g -O2 -pedantic
ldflags_force=-L $(PREFIX)/lib -Wl,-rpath $(PREFIX)/lib -l cpp
dist=Makefile,code.h,common.h,parser.h,scanner.h,tokenset.h

View File

@ -6,7 +6,7 @@ CC = cc
CPPFLAGSF=
CPPFLAGS= -I ../../include
CFLAGSF = -W
CFLAGS = -Wall -g -fPIC
CFLAGS = -Wall -g -O2 -fPIC -pedantic
AR = ar -rc
RANLIB = ranlib
LD = $(CC) -shared

View File

@ -1,6 +1,6 @@
cppflags=-I ../../include
cflags_force=-W
cflags=-Wall -g -fPIC
cflags=-Wall -g -O2 -fPIC -pedantic
targets=as,graph
dist=Makefile