Makefile 512 B

12345678910111213141516
  1. OPENLIBM_HOME=$(abspath ..)
  2. include ../Make.inc
  3. all: test-double test-float # test-double-system test-float-system
  4. test-double: test-double.c libm-test.c
  5. $(CC) -g [email protected] -D__BSD_VISIBLE -I ../include -I../src ../libopenlibm.a -o $@
  6. test-float: test-float.c libm-test.c
  7. $(CC) -g [email protected] -D__BSD_VISIBLE -I ../include -I../src ../libopenlibm.a -o $@
  8. test-double-system: test-double.c libm-test.c
  9. $(CC) -g $< -DSYS_MATH_H -lm -o $@
  10. test-float-system: test-float.c libm-test.c
  11. $(CC) -g $< -DSYS_MATH_H -lm -o $@