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
nsz f9d179
all: gen check
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
nsz f9d179
#genlibm: gen.c util.c mplibm.c
nsz f9d179
#	musl-gcc -o $@ $(CFLAGS) -lm $^
nsz f9d179
nsz f9d179
clean:
nsz f9d179
	rm -f gen check genlibm
nsz f9d179