Makefile 310 B

12345678910111213
  1. EXE = test
  2. CPP = g++
  3. CFLAGS = --std=c++11 -fcilkplus -O3 #-DNDEBUG
  4. LIBS = -lcilkrts -lflint -lgmp
  5. %.o:%.cpp %.hpp config.hpp
  6. $(CPP) $(CFLAGS) -c $< -o $@
  7. $(EXE): polygon_step.o polygon_generator.o polygon.o rationnal.o coeffs.o main.cpp
  8. $(CPP) $(CFLAGS) $^ -o $@ $(LIBS)
  9. clean:
  10. -$(RM) *.o $(EXE) *~