gtk/examples/tictactoe/Makefile
CST 1998 Shawn T. Amundson 690e34968a 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
1998-03-23 06:36:09 +00:00

15 lines
300 B
Makefile

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