diff options
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
|