diff options
| author | Fuwn <[email protected]> | 2024-04-07 23:18:32 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-04-07 23:18:32 -0700 |
| commit | c1b6ffe70bd281c6c230fd63fabcaac2aff47514 (patch) | |
| tree | e8af3b1782a7cd0754590ed618fddc1bdb9b7385 /chapter14/Makefile | |
| download | dscode-main.tar.xz dscode-main.zip | |
Diffstat (limited to 'chapter14/Makefile')
| -rw-r--r-- | chapter14/Makefile | 14 |
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
|