Add makefile for sqr generators

This commit is contained in:
Giovanni Bajo 2011-09-20 11:35:51 +02:00
parent 50f587c36f
commit 8f059cd52f
2 changed files with 19 additions and 0 deletions

2
src/generators/.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
comba_sqr_gen
comba_sqr_smallgen

17
src/generators/makefile Normal file
View File

@ -0,0 +1,17 @@
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 \
./comba_sqr_gen $$i > ../sqr/fp_sqr_comba_$$i.c; \
done
./comba_sqr_smallgen > ../sqr/fp_sqr_comba_small_set.c