gtk2/examples/tictactoe/Makefile
Jay Cox a77c4da512 forward declaration for gtk_window_paint declare xid_ht static get the
1998-11-07  Jay Cox  <jaycox@earthlink.net>

	* gtk/gtkwindow.c: forward declaration for gtk_window_paint
	* gdk/gdkxid.c: declare xid_ht static
	* examples/*/Makefile: get the link ordering right.
1998-11-07 16:12:37 +00:00

15 lines
325 B
Makefile

CC = gcc
ttt_test: tictactoe.o ttt_test.o
$(CC) ttt_test.o tictactoe.o -o ttt_test `gtk-config --libs`
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