summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a21b1c3..67252c2 100644
--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,10 @@
WAYLAND_EGL_PROGRAMS = egl-wayland-window egl-wayland-window-legacy \
egl-wayland-pixmap-image egl-wayland-pixmap-surface
+CAIRO_EGL_PROGRAMS = cairo-egl-wayland-window-surface
VAAPI_PROGRAMS = va-egl va-attach
.PHONY: all
-all: $(WAYLAND_EGL_PROGRAMS)
+all: $(WAYLAND_EGL_PROGRAMS) $(CAIRO_EGL_PROGRAMS)
# verbosity stuff
DEFAULT_VERBOSITY=0
@@ -14,9 +15,13 @@ v_cc_0 = @echo " CC " $@;
$(WAYLAND_EGL_PROGRAMS): %: %.c
$(V_CC) $(CC) -o $@ $< `pkg-config --cflags --libs wayland-client wayland-egl egl gl` -lm
+$(CAIRO_EGL_PROGRAMS): %: %.c
+ $(V_CC) $(CC) -o $@ $< `pkg-config --cflags --libs wayland-client wayland-egl egl gl cairo-egl`
+
$(VAAPI_PROGRAMS): %: %.c
$(V_CC) $(CC) -o $@ $< `pkg-config --cflags --libs wayland-client wayland-egl libva libva-wayland`
clean:
rm -rf $(WAYLAND_EGL_PROGRAMS)
+ rm -rf $(CAIRO_EGL_PROGRAMS)
rm -rf $(VAAPI_PROGRAMS)