]> Pileus Git - ~andy/gtk/blob - examples/selection/Makefile
Convert to use pkg-config rather than gtk-config. (#53375, Skip Montanaro)
[~andy/gtk] / examples / selection / Makefile
1
2 CC = gcc
3
4 all: gettargets setselection
5
6 gettargets: gettargets.c 
7         $(CC) `pkg-config --cflags gtk+-2.0` gettargets.c -o gettargets `pkg-config --libs gtk+-2.0`
8
9 setselection: setselection.c
10         $(CC) `pkg-config --cflags gtk+-2.0` setselection.c -o setselection `pkg-config --libs gtk+-2.0`
11
12 clean: 
13         rm -f *.o gettargets setselection