Blame src/math/gen/Makefile
|
nsz |
f9d179 |
CFLAGS=-I. -Wall -fno-builtin -ffloat-store -D_GNU_SOURCE
|
|
nsz |
f9d179 |
U=mpfr
|
|
nsz |
f9d179 |
T=$(wildcard t*.c)
|
|
nsz |
f9d179 |
|
|
Szabolcs Nagy |
029ecc |
all: gen check mgen tof toa toe tox next prev rnd
|
|
Szabolcs Nagy |
c58b8e |
|
|
Szabolcs Nagy |
c58b8e |
#tx: tx.c $(U)/lib/libmpfr.a $(U)/lib/libgmp.a
|
|
Szabolcs Nagy |
c58b8e |
# musl-gcc -o $@ $(CFLAGS) -I$(U)/include $^
|
|
Szabolcs Nagy |
c58b8e |
%:%.o
|
|
Szabolcs Nagy |
c58b8e |
%:%.c
|
|
Szabolcs Nagy |
c58b8e |
musl-gcc -o $@ $(CFLAGS) $^
|
|
nsz |
f9d179 |
|
|
nsz |
f9d179 |
gen: gen.c util.c mp.c $(U)/lib/libmpfr.a $(U)/lib/libgmp.a
|
|
nsz |
f9d179 |
musl-gcc -o $@ $(CFLAGS) -I$(U)/include $^
|
|
nsz |
f9d179 |
|
|
nsz |
f9d179 |
check: gen.c util.c mplibm.c
|
|
nsz |
f9d179 |
musl-gcc -o $@ $(CFLAGS) -lm $^
|
|
nsz |
f9d179 |
|
|
Szabolcs Nagy |
ae0f0f |
mgen: gen.c util.c mplibm.c
|
|
Szabolcs Nagy |
ae0f0f |
musl-gcc -o $@ $(CFLAGS) -lm $^
|
|
nsz |
f9d179 |
|
|
nsz |
f9d179 |
clean:
|
|
nsz |
f9d179 |
rm -f gen check genlibm
|
|
nsz |
f9d179 |
|