openlibm/test/Makefile
2012-07-02 08:02:24 +05:30

14 lines
339 B
Makefile

OPENLIBM_HOME=$(abspath ..)
include ../Make.inc
all: test-double test-float
test-double: test-double.c libm-test.c
gcc $< -D__BSD_VISIBLE -I ../include -I../src ../libopenlibm.a -o $@
test-float: test-float.c libm-test.c
gcc $< -D__BSD_VISIBLE -I ../include -I../src ../libopenlibm.a -o $@
clean:
rm -f *~ *# test-double test-float