]> Pileus Git - ~andy/gtk/blob - examples/selection/Makefile
examples: build examples that are included in the docs
[~andy/gtk] / examples / selection / Makefile
1
2 CC = gcc
3
4 CFLAGS = -Wall                          \
5         -DG_DISABLE_DEPRECATED          \
6         -DGDK_DISABLE_DEPRECATED        \
7         -DGDK_PIXBUF_DISABLE_DEPRECATED \
8         -DGTK_DISABLE_DEPRECATED
9
10 all: gettargets setselection
11
12 gettargets: gettargets.c 
13         $(CC) gettargets.c -o gettargets $(CFLAGS) `pkg-config gtk+-2.0 --cflags --libs`
14
15 setselection: setselection.c
16         $(CC) setselection.c -o setselection $(CFLAGS) `pkg-config gtk+-2.0 --cflags --libs`
17
18 clean: 
19         rm -f *.o gettargets setselection