From a54825931bd643377dc86c8c6fd00da0805f3ffe Mon Sep 17 00:00:00 2001 From: Lorenzo Torres Date: Mon, 3 Nov 2025 20:51:53 +0100 Subject: [PATCH] fixed config.mk from last patch --- config.mk | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/config.mk b/config.mk index f56d914..37154f6 100644 --- a/config.mk +++ b/config.mk @@ -4,7 +4,7 @@ CC := cc CFLAGS := -Wall -Wextra -std=c99 -pedantic LIBS := -lm # Can be gl or vk -BACKEND := vk +GRAPHICS_BACKEND := vk PLATFORM := $(shell uname) @@ -26,11 +26,10 @@ ifeq (${PLATFORM},Darwin) else ifeq (${PLATFORM},Linux) # Check for windowing platforms if it's linux LINUX_WINDOW_PLATFORM := $(shell echo $$DISPLAY) -endif - -# If LINUX_WINDOW_PLATFORM is "", it is Wayland, otherwise it's Xorg + # If LINUX_WINDOW_PLATFORM is "", it is Wayland, otherwise it's Xorg ifeq ($(LINUX_WINDOW_PLATFORM),) LIBS += -lwayland-client else LIBS += -lX11 -lXrandr endif +endif