Move background drawing to a client.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
CFLAGS += -Wall -g $(shell pkg-config --cflags libffi libdrm)
|
||||
LDLIBS += $(shell pkg-config --libs libffi libdrm)
|
||||
|
||||
clients = flower pointer
|
||||
clients = flower pointer background
|
||||
|
||||
all : wayland $(clients)
|
||||
|
||||
@@ -19,9 +19,13 @@ libwayland.so : $(libwayland_objs)
|
||||
|
||||
flower_objs = flower.o
|
||||
pointer_objs = pointer.o
|
||||
background_objs = background.o
|
||||
|
||||
$(clients) : CFLAGS += $(shell pkg-config --cflags cairo)
|
||||
$(clients) : LDLIBS += $(shell pkg-config --libs cairo) -lrt
|
||||
$(clients) : LDLIBS += $(shell pkg-config --libs cairo gdk-pixbuf-2.0) -lrt
|
||||
|
||||
background : CFLAGS += $(shell pkg-config --cflags gdk-pixbuf-2.0)
|
||||
background : LDLIBS += $(shell pkg-config --libs gdk-pixbuf-2.0)
|
||||
|
||||
define client_template
|
||||
$(1): $$($(1)_objs) libwayland.so
|
||||
|
||||
Reference in New Issue
Block a user