summaryrefslogtreecommitdiff
path: root/chapter14/Makefile
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-04-07 23:18:32 -0700
committerFuwn <[email protected]>2024-04-07 23:18:32 -0700
commitc1b6ffe70bd281c6c230fd63fabcaac2aff47514 (patch)
treee8af3b1782a7cd0754590ed618fddc1bdb9b7385 /chapter14/Makefile
downloaddscode-main.tar.xz
dscode-main.zip
feat: initial commitHEADmain
Diffstat (limited to 'chapter14/Makefile')
-rw-r--r--chapter14/Makefile14
1 files changed, 14 insertions, 0 deletions
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