mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-11 11:20:12 +00:00
5098f34234
Don't use GTK_DISABLE_DEPRECATED as scribble-xinput does use deprecated API. Also, make the CC command line more canonical.
14 lines
321 B
Makefile
14 lines
321 B
Makefile
|
|
CC = gcc
|
|
|
|
CFLAGS = -Wall \
|
|
-DG_DISABLE_DEPRECATED \
|
|
-DGDK_DISABLE_DEPRECATED \
|
|
-DGDK_PIXBUF_DISABLE_DEPRECATED
|
|
|
|
scribble-xinput: scribble-xinput.c
|
|
$(CC) $(CFLAGS) `pkg-config --cflags gtk+-2.0` scribble-xinput.c -o scribble-xinput $(LDFLAGS) `pkg-config --libs gtk+-2.0`
|
|
|
|
clean:
|
|
rm -f *.o scribble-xinput
|