aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorHarry Jeffery <harry@exec64.co.uk>2019-07-13 11:38:26 +0100
committerHarry Jeffery <harry@exec64.co.uk>2019-07-13 11:42:21 +0100
commit0687370b2e0d8caab3cc4f6ad18fda068bed5518 (patch)
treee65f3679bb35e31d982ff88f78d29b301bb9bc3a /Makefile
parentf357024377435d2b2343f283b900979c307d6a36 (diff)
downloadimv-0687370b2e0d8caab3cc4f6ad18fda068bed5518.tar.gz
Create stub X11 window implementation
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index e690e8b..a1e6289 100644
--- a/Makefile
+++ b/Makefile
@@ -41,6 +41,11 @@ ifeq ($(WINDOWS),wayland)
override LIBS += -lwayland-client -lwayland-egl -lEGL
endif
+ifeq ($(WINDOWS),x11)
+ SOURCES += src/x11_window.c
+ override LIBS += -lX11 -lGL -lGLU
+endif
+
# Add backends to build as configured
ifeq ($(BACKEND_FREEIMAGE),yes)
SOURCES += src/backend_freeimage.c