1570af302Sopenharmony_ciCFLAGS=-I. -Wall -fno-builtin -ffloat-store -D_GNU_SOURCE 2570af302Sopenharmony_ciU=mpfr 3570af302Sopenharmony_ciMPFR=$(U)/lib/libmpfr.a 4570af302Sopenharmony_ciGMP=$(U)/lib/libgmp.a 5570af302Sopenharmony_ci#MPFR=-lmpfr 6570af302Sopenharmony_ci#GMP=-lgmp 7570af302Sopenharmony_ciT=$(wildcard t*.c) 8570af302Sopenharmony_ciCC=musl-gcc 9570af302Sopenharmony_ci#CC=gcc 10570af302Sopenharmony_ci 11570af302Sopenharmony_ciall: gen check mgen tof toa toe tog tox next prev rnd 12570af302Sopenharmony_ci 13570af302Sopenharmony_ci%:%.o 14570af302Sopenharmony_ci%:%.c 15570af302Sopenharmony_ci $(CC) -o $@ $(CFLAGS) $^ 16570af302Sopenharmony_ci 17570af302Sopenharmony_cigen: gen.c util.c mp.c $(MPFR) $(GMP) 18570af302Sopenharmony_ci $(CC) -o $@ $(CFLAGS) -lm -I$(U)/include $^ 19570af302Sopenharmony_ci 20570af302Sopenharmony_cicheck: gen.c util.c mplibm.c 21570af302Sopenharmony_ci $(CC) -o $@ $(CFLAGS) -lm $^ 22570af302Sopenharmony_ci 23570af302Sopenharmony_cimgen: gen.c util.c mplibm.c 24570af302Sopenharmony_ci $(CC) -o $@ $(CFLAGS) -lm $^ 25570af302Sopenharmony_ci 26570af302Sopenharmony_ciclean: 27570af302Sopenharmony_ci rm -f gen check mgen tof toa toe tog tox next prev rnd 28570af302Sopenharmony_ci 29