summaryrefslogtreecommitdiff
path: root/examples/tictactoe/Makefile
diff options
context:
space:
mode:
authorCST 1998 Shawn T. Amundson <amundson@gtk.org>1998-03-23 06:36:09 +0000
committerShawn Amundson <amundson@src.gnome.org>1998-03-23 06:36:09 +0000
commit690e34968a904e6cae6006e6a7b37a9e368ed1b0 (patch)
treefee24a5ba900aa836bc312410198128e75607340 /examples/tictactoe/Makefile
parent923f3f6992154acda20cd0ca21e23f4ec6d697cd (diff)
downloadgtk+-690e34968a904e6cae6006e6a7b37a9e368ed1b0.tar.gz
added this directory with stuff from the tutorial, updated to compile and
Mon Mar 23 12:03:03 CST 1998 Shawn T. Amundson <amundson@gtk.org> * examples/: added this directory with stuff from the tutorial, updated to compile and work with recent changes
Diffstat (limited to 'examples/tictactoe/Makefile')
-rw-r--r--examples/tictactoe/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/examples/tictactoe/Makefile b/examples/tictactoe/Makefile
new file mode 100644
index 0000000000..c8a8a52df3
--- /dev/null
+++ b/examples/tictactoe/Makefile
@@ -0,0 +1,14 @@
+
+CC = gcc
+
+ttt_test: tictactoe.o ttt_test.o
+ $(CC) `gtk-config --libs` ttt_test.o tictactoe.o -o ttt_test
+
+ttt_test.o:
+ $(CC) `gtk-config --cflags` -c ttt_test.c -o ttt_test.o
+
+tictactoe.o: tictactoe.c tictactoe.h
+ $(CC) `gtk-config --cflags` -c tictactoe.c -o tictactoe.o
+
+clean:
+ rm *.o ttt_test