gtk/examples/tictactoe/Makefile
BST 1998 Tony Gale 4268cd7312 add correct dependencies
Thu Apr  2 17:30:04 BST 1998 Tony Gale <gale@gtk.org>

        * examples/gtkdial/Makefile,
          examples/menu/Makefile,
          examples/tictactoe/Makefile : add correct dependencies
1998-04-02 15:33:36 +00:00

15 lines
325 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: ttt_test.c tictactoe.h
$(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 -f *.o ttt_test