Update the Makefile for scribble-xinput

Don't use GTK_DISABLE_DEPRECATED as scribble-xinput does use
deprecated API. Also, make the CC command line more canonical.
This commit is contained in:
Tor Lillqvist 2010-05-03 13:44:23 +03:00
parent 0eaa177210
commit 5098f34234

View File

@ -4,11 +4,10 @@ CC = gcc
CFLAGS = -Wall \ CFLAGS = -Wall \
-DG_DISABLE_DEPRECATED \ -DG_DISABLE_DEPRECATED \
-DGDK_DISABLE_DEPRECATED \ -DGDK_DISABLE_DEPRECATED \
-DGDK_PIXBUF_DISABLE_DEPRECATED \ -DGDK_PIXBUF_DISABLE_DEPRECATED
-DGTK_DISABLE_DEPRECATED
scribble-xinput: scribble-xinput.c scribble-xinput: scribble-xinput.c
$(CC) scribble-xinput.c -o scribble-xinput $(CFLAGS) `pkg-config gtk+-2.0 --cflags --libs` $(CC) $(CFLAGS) `pkg-config --cflags gtk+-2.0` scribble-xinput.c -o scribble-xinput $(LDFLAGS) `pkg-config --libs gtk+-2.0`
clean: clean:
rm -f *.o scribble-xinput rm -f *.o scribble-xinput