made threadsafe

This commit is contained in:
Mark Borgerding
2010-05-27 22:54:01 -04:00
parent 583019e074
commit 57925fd126
9 changed files with 70 additions and 68 deletions

View File

@ -5,10 +5,12 @@ WARNINGS=-W -Wall -Wstrict-prototypes -Wmissing-prototypes -Waggregate-return \
CFLAGS=-O3 -I.. -I../tools $(WARNINGS)
CFLAGS+=-ffast-math -fomit-frame-pointer
CFLAGS+=-march=prescott
#CFLAGS+= -mtune=native
#CFLAGS+=-funroll-loops
#CFLAGS+=-march=prescott
CFLAGS+= -mtune=native
# TIP: try adding -openmp or -fopenmp to enable OPENMP directives and use of multiple cores
CFLAGS+=-fopenmp
#CFLAGS+=-fopenmp
CFLAGS+= $(CFLAGADD)
ifeq "$(NFFT)" ""