tomsfastmath/src/generators/makefile

18 lines
481 B
Makefile
Raw Normal View History

2011-09-20 11:35:51 +02:00
all: comba_sqr_gen comba_sqr_smallgen
clean:
rm -f comba_sqr_gen
rm -f comba_sqr_smallgen
comba_sqr_gen: comba_sqr_gen.c
gcc -o comba_sqr_gen comba_sqr_gen.c
comba_sqr_smallgen: comba_sqr_smallgen.c
gcc -o comba_sqr_smallgen comba_sqr_smallgen.c
regen: comba_sqr_gen comba_sqr_smallgen
for i in 3 4 6 7 8 9 12 17 20 24 28 32 48 64; do \
2014-06-12 17:35:54 +02:00
./comba_sqr_gen $$i | sed -e 's/ *$$//' > ../sqr/fp_sqr_comba_$$i.c; \
2011-09-20 11:35:51 +02:00
done
./comba_sqr_smallgen > ../sqr/fp_sqr_comba_small_set.c