math: regenerate all math tests
[libc-test] / src / math / gen / Makefile
index 5760c23..9c1a452 100644 (file)
@@ -2,7 +2,13 @@ CFLAGS=-I. -Wall -fno-builtin -ffloat-store -D_GNU_SOURCE
 U=mpfr
 T=$(wildcard t*.c)
 
-all: gen check mgen
+all: gen check mgen tof toa toe next prev
+
+#tx: tx.c $(U)/lib/libmpfr.a $(U)/lib/libgmp.a
+#      musl-gcc -o $@ $(CFLAGS) -I$(U)/include $^
+%:%.o
+%:%.c
+       musl-gcc -o $@ $(CFLAGS) $^
 
 gen: gen.c util.c mp.c $(U)/lib/libmpfr.a $(U)/lib/libgmp.a
        musl-gcc -o $@ $(CFLAGS) -I$(U)/include $^