mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-19 01:40:10 +00:00
690e34968a
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
15 lines
300 B
Makefile
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
|