mirror of
https://git.planet-casio.com/Lephenixnoir/OpenLibm.git
synced 2024-12-28 20:43:41 +01:00
abc6c5e76f
and disable the building of test-double-system and test-float-system by default
19 lines
601 B
Makefile
19 lines
601 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 $@
|
|
|
|
clean:
|
|
rm -fr *~ *# test-double test-float test-double-system test-float-system *.dSYM
|