add some more optimization arguments to gcc

This commit is contained in:
Josh Coalson 2001-02-05 23:19:09 +00:00
parent 47091de50d
commit 230e0f52a9
3 changed files with 3 additions and 3 deletions

View File

@ -13,7 +13,7 @@ PROGRAM = $(BINPATH)/$(PROGRAM_NAME)
all : release
debug : CFLAGS = -g -O0 -DDEBUG $(DEBUG_CFLAGS) -Wall -W $(INCLUDES)
release : CFLAGS = -O3 -DNDEBUG $(RELEASE_CFLAGS) -Wall -W $(INCLUDES)
release : CFLAGS = -O3 -fomit-frame-pointer -funroll-loops -ffast-math -finline-functions -DNDEBUG $(RELEASE_CFLAGS) -Wall -W $(INCLUDES)
LFLAGS = -L$(LIBPATH)

View File

@ -12,7 +12,7 @@ DYNAMIC_LIB = $(LIBPATH)/$(LIB_NAME).so
all : release
debug : CFLAGS = -g -O0 -DDEBUG $(DEBUG_CFLAGS) -Wall -W $(INCLUDES)
release : CFLAGS = -O3 -DNDEBUG $(RELEASE_CFLAGS) -Wall -W $(INCLUDES)
release : CFLAGS = -O3 -fomit-frame-pointer -funroll-loops -ffast-math -finline-functions -DNDEBUG $(RELEASE_CFLAGS) -Wall -W $(INCLUDES)
LFLAGS = -L$(LIBPATH)

View File

@ -26,7 +26,7 @@ CFLAGS='-I./include -I $(top_srcdir)/include -Wall -W'
if test x$debug = xtrue; then
CFLAGS="$CFLAGS -g -O0 -DDEBUG"
else
CFLAGS="$CFLAGS -O3 -DNDEBUG"
CFLAGS="$CFLAGS -O3 -fomit-frame-pointer -funroll-loops -ffast-math -finline-functions -DNDEBUG"
fi
AC_OUTPUT( Makefile \