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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user