/*
     buildall.bat
*/
@echo on
gcc -Wall -O3 -march=pentium -ffast-math main.c complex.c -o complex.exe
gcc -Wall -O3 -march=pentium -ffast-math main.c wrapper.c -o wrapper.exe
gcc -Wall -O3 -march=pentium -ffast-math main.c right.c -o right.exe
gcc -Wall -O3 -march=pentium -ffast-math main.c balanced.c -o balanced.exe
gcc -Wall -O3 -march=pentium -ffast-math -DPURE_FHT -DRECURSIVE main.c fht.c -o fht_pr.exe
gcc -Wall -O3 -march=pentium -ffast-math -DPURE_FHT -DITERATIVE main.c fht.c -o fht_pi.exe
gcc -Wall -O3 -march=pentium -ffast-math -DREAL_FHT -DRECURSIVE main.c fht.c -o fht_rr.exe
gcc -Wall -O3 -march=pentium -ffast-math -DREAL_FHT -DITERATIVE main.c fht.c -o fht_ri.exe
gcc -Wall -O3 -march=pentium -ffast-math main.c fgt.c -o fgt.exe
gcc -Wall -O3 -march=pentium -ffast-math main.c ntt31.c -o ntt31.exe
gcc -Wall -O3 -march=pentium -ffast-math main.c mont31.c -o mont31.exe
gcc -Wall -O3 -march=pentium -ffast-math main.c ntt64.c -o ntt64.exe
gcc -Wall -O3 -march=pentium -ffast-math main.c mont62.c -o mont62.exe
gcc -Wall -O3 -march=pentium -ffast-math main.c nuss.c -o nuss.exe
gcc -Wall -O3 -march=pentium -ffast-math main.c mpntt31.c -o mpntt31.exe
gcc -Wall -O3 -march=pentium -ffast-math main.c fractal.c -o fractal.exe

@rem Not building the wideNTT or Schonage-Strassen
@rem Too slow to be practical, and SS needs binary base.
@rem gcc -Wall main.c widentt.c -o widentt.exe
@rem gcc -Wall main.c ss2.c -o ss1.exe
@rem gcc -Wall main.c ss1.c -o ss2.exe