OpenLibm/test/Makefile
Viral B. Shah 1ac594e475 Quiet the clang build.
Rename cleanall target to distclean.
2012-10-27 10:17:38 +05:30

16 lines
512 B
Makefile

OPENLIBM_HOME=$(abspath ..)
include ../Make.inc
all: test-double test-float # test-double-system test-float-system
test-double: test-double.c libm-test.c
$(CC) -g $@.c -D__BSD_VISIBLE -I ../include -I../src ../libopenlibm.a -o $@
test-float: test-float.c libm-test.c
$(CC) -g $@.c -D__BSD_VISIBLE -I ../include -I../src ../libopenlibm.a -o $@
test-double-system: test-double.c libm-test.c
$(CC) -g $< -DSYS_MATH_H -lm -o $@
test-float-system: test-float.c libm-test.c
$(CC) -g $< -DSYS_MATH_H -lm -o $@