Makefile 248 B

123456789101112
  1. tester: main.cc read.h shuf.txt
  2. g++ -std=c++17 -O3 -o tester main.cc
  3. oldway: main.cc read.h shuf.txt
  4. g++ -std=c++17 -O3 -DORIG -o oldway main.cc
  5. shuf.txt:
  6. seq 1 1000000 | shuf - > shuf.txt
  7. clean:
  8. rm -f tester oldway shuf.txt core a.out *.o