1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83
|
.SUFFIXES:
.SUFFIXES: .5c .h
NICKLE=nickle
REAL_TRIG = \
test-acos.h \
test-acosh.h \
test-asin.h \
test-asinh.h \
test-atan.h \
test-atan2.h \
test-atanh.h \
test-cos.h \
test-cosh.h \
test-sin.h \
test-sinh.h \
test-tan.h \
test-tanh.h
REAL_EXP = \
test-exp.h \
test-exp10.h \
test-exp2.h \
test-expm1.h \
test-log.h \
test-log10.h \
test-log1p.h \
test-log2.h \
test-pow.h
REAL_OTHER = \
test-cbrt.h \
test-erf.h \
test-erfc.h \
test-hypot.h \
test-j0.h \
test-j1.h \
test-jn.h \
test-lgamma.h \
test-sqrt.h \
test-tgamma.h
COMPLEX_TRIG = \
test-cacos.h \
test-cacosh.h \
test-casin.h \
test-casinh.h \
test-catan.h \
test-catanh.h \
test-ccos.h \
test-ccosh.h \
test-csin.h \
test-csinh.h \
test-ctan.h \
test-ctanh.h
COMPLEX_EXP = \
test-cexp.h \
test-clog.h \
test-cpow.h
COMPLEX_OTHER = \
test-csqrt.h
TEST_FILES = \
$(REAL_TRIG) $(REAL_EXP) $(REAL_OTHER) \
$(COMPLEX_TRIG) $(COMPLEX_EXP) $(COMPLEX_OTHER)
all: $(TEST_FILES) .clang-format-ignore
$(TEST_FILES): test-complex.5c test-float.5c math-test-copyright
.DELETE_ON_ERROR:
.5c.h:
($(NICKLE) $< && cat math-test-copyright) > $@
.clang-format-ignore: Makefile
for i in '!**/*.[ch]' $(TEST_FILES); do echo "$$i"; done > $@
clean:
rm -f $(TEST_FILES)
|