forked from AuroraMiddleware/gtk
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:
parent
0eaa177210
commit
5098f34234
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user