1998-03-23 06:36:09 +00:00
|
|
|
|
|
|
|
CC = gcc
|
|
|
|
|
2002-02-16 23:52:30 +00:00
|
|
|
CFLAGS = -Wall \
|
|
|
|
-DG_DISABLE_DEPRECATED \
|
|
|
|
-DGDK_DISABLE_DEPRECATED \
|
|
|
|
-DGDK_PIXBUF_DISABLE_DEPRECATED \
|
|
|
|
-DGTK_DISABLE_DEPRECATED
|
|
|
|
|
1998-03-23 06:36:09 +00:00
|
|
|
ttt_test: tictactoe.o ttt_test.o
|
2001-11-02 15:27:27 +00:00
|
|
|
$(CC) ttt_test.o tictactoe.o -o ttt_test `pkg-config --libs gtk+-2.0`
|
1998-03-23 06:36:09 +00:00
|
|
|
|
1998-04-02 15:33:36 +00:00
|
|
|
ttt_test.o: ttt_test.c tictactoe.h
|
2002-02-16 23:52:30 +00:00
|
|
|
$(CC) -c ttt_test.c -o ttt_test.o $(CFLAGS) `pkg-config gtk+-2.0 --cflags`
|
1998-03-23 06:36:09 +00:00
|
|
|
|
|
|
|
tictactoe.o: tictactoe.c tictactoe.h
|
2002-02-16 23:52:30 +00:00
|
|
|
$(CC) -c tictactoe.c -o tictactoe.o $(CFLAGS) `pkg-config gtk+-2.0 --cflags`
|
1998-03-23 06:36:09 +00:00
|
|
|
|
|
|
|
clean:
|
1998-03-28 01:01:54 +00:00
|
|
|
rm -f *.o ttt_test
|