wayland/compositor/Makefile

29 lines
613 B
Makefile
Raw Normal View History

include ../config.mk
CFLAGS += $(COMPOSITOR_CFLAGS)
LDLIBS += -L../wayland -lwayland-server $(COMPOSITOR_LIBS) -rdynamic -lrt -lm
all : compositor
compositor : \
compositor.o \
compositor-drm.o \
compositor-x11.o \
screenshooter.o \
2010-09-14 15:53:32 -04:00
screenshooter-protocol.o \
drm.o
2010-09-14 15:53:32 -04:00
screenshooter.c : screenshooter-server-protocol.h
screenshooter-protocol.c : screenshooter.xml
../wayland/scanner code < $< > $@
screenshooter-server-protocol.h : screenshooter.xml
../wayland/scanner server-header < $< > $@
clean :
rm -f compositor *.o .*.deps
install :
install 70-wayland.rules ${udev_rules_dir}