- EXE = test
- CPP = g++
- CFLAGS = --std=c++11 -fcilkplus -O3 #-DNDEBUG
- LIBS = -lcilkrts -lflint -lgmp
- %.o:%.cpp %.hpp config.hpp
- $(CPP) $(CFLAGS) -c $< -o $@
- $(EXE): polygon_step.o polygon_generator.o polygon.o rationnal.o coeffs.o main.cpp
- $(CPP) $(CFLAGS) $^ -o $@ $(LIBS)
- clean:
- -$(RM) *.o $(EXE) *~
|