forked from AuroraMiddleware/gtk
ca21695fe9
Fri Nov 2 10:21:03 2001 Owen Taylor <otaylor@redhat.com> * examples/**/Makefile.am: Convert to use pkg-config rather than gtk-config. (#53375, Skip Montanaro)
15 lines
352 B
Makefile
15 lines
352 B
Makefile
|
|
CC = gcc
|
|
|
|
ttt_test: tictactoe.o ttt_test.o
|
|
$(CC) ttt_test.o tictactoe.o -o ttt_test `pkg-config --libs gtk+-2.0`
|
|
|
|
ttt_test.o: ttt_test.c tictactoe.h
|
|
$(CC) `pkg-config --cflags gtk+-2.0` -c ttt_test.c -o ttt_test.o
|
|
|
|
tictactoe.o: tictactoe.c tictactoe.h
|
|
$(CC) `pkg-config --cflags gtk+-2.0` -c tictactoe.c -o tictactoe.o
|
|
|
|
clean:
|
|
rm -f *.o ttt_test
|