aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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