forked from ibphoenix/tomsfastmath
Add makefile for sqr generators
This commit is contained in:
parent
50f587c36f
commit
8f059cd52f
2
src/generators/.gitignore
vendored
Normal file
2
src/generators/.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
comba_sqr_gen
|
||||
comba_sqr_smallgen
|
17
src/generators/makefile
Normal file
17
src/generators/makefile
Normal 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
|
||||
|
Loading…
Reference in New Issue
Block a user