17 lines
301 B
Makefile
17 lines
301 B
Makefile
# $FreeBSD$
|
|
|
|
TESTS= test-fenv test-ilogb test-lrint test-lround test-next
|
|
CFLAGS+= -O0 -lm
|
|
ARCH!= uname -m
|
|
.if ${ARCH} == "alpha"
|
|
CFLAGS+= -mieee-with-inexact -mfp-rounding-mode=d
|
|
.endif
|
|
|
|
.PHONY: tests
|
|
tests: ${TESTS}
|
|
for p in ${TESTS}; do ${.OBJDIR}/$$p; done
|
|
|
|
.PHONY: clean
|
|
clean:
|
|
-rm -f ${TESTS}
|