aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorHarry Jeffery <harry@exec64.co.uk>2019-07-12 00:15:24 +0100
committerHarry Jeffery <harry@exec64.co.uk>2019-07-12 00:21:30 +0100
commit3200b8f9db552db31fa90411c1ce7f851832d01c (patch)
tree340a0b4ec2e186e909b91147d09932e8f2019296 /Makefile
parent0910ffd41a5a9481ef5c36f996a9c04ae1c1aa60 (diff)
downloadimv-3200b8f9db552db31fa90411c1ce7f851832d01c.tar.gz
Start replacing glfw with imv_window
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index baf2498..f157e87 100644
--- a/Makefile
+++ b/Makefile
@@ -14,7 +14,7 @@ INSTALL_PROGRAM ?= install -m 0755
override CFLAGS += -std=c99 -W -Wall -Wpedantic -Wextra $(shell pkg-config --cflags pangocairo)
override CPPFLAGS += -D_XOPEN_SOURCE=700
-override LIBS := -lglfw -lGL -lpthread -lxkbcommon $(shell pkg-config --libs pangocairo)
+override LIBS := -lwayland-client -lwayland-egl -lEGL -lGL -lpthread -lxkbcommon $(shell pkg-config --libs pangocairo)
BUILDDIR ?= build
TARGET := $(BUILDDIR)/imv
@@ -34,6 +34,8 @@ SOURCES += src/list.c
SOURCES += src/log.c
SOURCES += src/navigator.c
SOURCES += src/viewport.c
+SOURCES += src/window.c
+SOURCES += src/xdg-shell-protocol.c
# Add backends to build as configured
ifeq ($(BACKEND_FREEIMAGE),yes)