more cleanup

parent 1b87cfcd
......@@ -11,7 +11,7 @@ LDFLAGS ?=
C_SRC := $(wildcard *.c)
OBJECTS := $(C_SRC:.c=.o)
#OBJECTS := rinterpolate.o rinterpolate-debug.o
CFLAGS := -fPIC -O2 -march=native -mtune=native -Wall -Wstrict-prototypes -ffast-math -D__RINTERPOLATE__ $(COPTFLAGS)
CFLAGS := -fPIC -O2 -march=native -mtune=native -Wall -Wstrict-prototypes -ffast-math -D__RINTERPOLATE__ -D__RINTERPOLATE_BUILD_BUILD_FLAGS__ $(COPTFLAGS)
ifeq ($(PREFIX),)
PREFIX := /usr/local
endif
......
#ifdef __RINTERPOLATE_BUILD_BUILD_FLAGS__
#include "rinterpolate.h"
#include <stdarg.h>
#include <string.h>
......@@ -42,3 +44,4 @@ void rinterpolate_build_flags(struct rinterpolate_data_t * RESTRICT rinterpolate
}
#endif
......@@ -56,6 +56,7 @@ rinterpolate_Boolean_t rinterpolate_check_cache(
Rinterpolate_print("memcmp = %d\n",
memcmp(RINTERPOLATE_CACHE_PARAM(iline),x,table->n_float_sizeof));
}
#endif//RINTERPOLATE_DEBUG
match = (memcmp(RINTERPOLATE_CACHE_PARAM(iline),x,table->n_float_sizeof)==0) ? TRUE : FALSE;
#else // RINTERPOLATE_CACHE_USE_MEMCMP
rinterpolate_counter_t m;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment