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