Convert to use pkg-config rather than gtk-config. (#53375, Skip Montanaro)

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)
This commit is contained in:
Owen Taylor
2001-11-02 15:27:27 +00:00
committed by Owen Taylor
parent bc0d15aba7
commit ca21695fe9
46 changed files with 80 additions and 51 deletions

View File

@@ -4,10 +4,10 @@ CC = gcc
all: gettargets setselection
gettargets: gettargets.c
$(CC) `gtk-config --cflags` gettargets.c -o gettargets `gtk-config --libs`
$(CC) `pkg-config --cflags gtk+-2.0` gettargets.c -o gettargets `pkg-config --libs gtk+-2.0`
setselection: setselection.c
$(CC) `gtk-config --cflags` setselection.c -o setselection `gtk-config --libs`
$(CC) `pkg-config --cflags gtk+-2.0` setselection.c -o setselection `pkg-config --libs gtk+-2.0`
clean:
rm -f *.o gettargets setselection