Commit 5098f342 authored by Tor Lillqvist's avatar Tor Lillqvist

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.
parent 0eaa1772
......@@ -4,11 +4,10 @@ CC = gcc
CFLAGS = -Wall \
-DG_DISABLE_DEPRECATED \
-DGDK_DISABLE_DEPRECATED \
-DGDK_PIXBUF_DISABLE_DEPRECATED \
-DGTK_DISABLE_DEPRECATED
-DGDK_PIXBUF_DISABLE_DEPRECATED
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:
rm -f *.o scribble-xinput
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment