Makefile 187 B

12345678910
  1. FLAGS = -Wall -Wextra -pedantic -Werror -O3
  2. run: build
  3. ./vrp
  4. build: Main.cpp Reader.o
  5. g++ -o vrp Main.cpp Reader.o ${FLAGS}
  6. Reader.o: Reader.cpp Reader.h
  7. g++ -c Reader.cpp ${FLAGS}