core-math-sys 1.0.3

Generate bindings to CORE-MATH
Documentation
# -*- makefile -*-

include ../../generic/support/Makefile.checkstd

CFLAGS += -W -Wall $(ROUNDING_MATH)

TYPE_UNDER_TEST := _Float16

all:: check_exhaustive

check_exhaustive: check_exhaustive.o $(CORE_MATH_OBJS) $(FUNCTION_UNDER_TEST)_mpfr.o
	$(CC) $(LDFLAGS) $(OPENMP) -o $@ $^ -lmpfr -lm

%.o: %.c
	$(CC) $(CFLAGS) -I ../support -c -o $@ $<

check_exhaustive.o: $(wildcard check_exhaustive.c ../support/check_exhaustive_uni.c) 
	$(CC) $(CFLAGS) $(CORE_MATH_DEFINES) -I . -c $(OPENMP) -o $@ $<

clean::
	rm -f *.o check_exhaustive

include ../../generic/support/Makefile.univariate