Compile with the -O2 and -pedantic flags
This commit is contained in:
parent
43dd5ac499
commit
f0867e00ec
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user