Makefile 424 B

1234567891011121314
  1. ARGS = -o fanorona -Wall -Wextra -pedantic -Werror -O3
  2. SOURCE_CPP = source/Main.cpp source/Game.cpp source/String.cpp source/Vector.cpp source/Fields.cpp
  3. SOURCE_H = source/Game.h source/String.h source/Vector.h source/List.h source/Fields.h
  4. all: fanorona
  5. test: fanorona
  6. socat TCP4-CONNECT:alpaga.hammerle.me:4455 EXEC:"./fanorona"
  7. fanorona: ${SOURCE_CPP} ${SOURCE_H}
  8. g++ ${SOURCE_CPP} ${ARGS}
  9. clean:
  10. rm -f fanorona