From c1b6ffe70bd281c6c230fd63fabcaac2aff47514 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Sun, 7 Apr 2024 23:18:32 -0700 Subject: feat: initial commit --- chapter14/Makefile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 chapter14/Makefile (limited to 'chapter14/Makefile') diff --git a/chapter14/Makefile b/chapter14/Makefile new file mode 100644 index 0000000..fc66f53 --- /dev/null +++ b/chapter14/Makefile @@ -0,0 +1,14 @@ +play_connect4.exe: connect4.h play_connect4.cxx game.o connect4.o + g++ -Wall -gstabs play_connect4.cxx game.o connect4.o -o play_connect4 + +play_othello.exe: othello.h play_othello.cxx game.o othello.o + g++ -Wall -gstabs play_othello.cxx game.o othello.o -o othello + +game.o: game.h game.cxx + g++ -Wall -gstabs -c game.cxx + +connect4.o: connect4.h game.h connect4.cxx + g++ -Wall -gstabs -c connect4.cxx + +othello.o: othello.h game.h othello.cxx + g++ -Wall -gstabs -c othello.cxx -- cgit v1.2.3