Makefile 182 B

12345678910111213
  1. CPP = g++
  2. CPPFLAGS = -O3 -mavx2 -mfma -g
  3. EXE = fp
  4. LIB = -lmpfr -lquadmath
  5. all: $(EXE)
  6. $(EXE): src/*.hpp src/*.cpp
  7. $(CPP) $(CPPFLAGS) $^ -o $@ $(LIB)
  8. clean:
  9. $(RM) -r $(EXE)