build: default FEATURES to all optional deps

make          — builds with glfw, vulkan, turbojpeg, xorg, vaapi
make FEATURES= — headless build with no optional dependencies

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-28 21:01:56 +00:00
parent a1b52145d0
commit ef0319b45b

View File

@@ -24,7 +24,7 @@ DEPFLAGS = -MMD -MP
# xorg — XRandR geometry queries + XShmGetImage screen grab (libx11, libxrandr) # xorg — XRandR geometry queries + XShmGetImage screen grab (libx11, libxrandr)
# vaapi — VA-API hardware encode/decode (libva) # vaapi — VA-API hardware encode/decode (libva)
# ----------------------------------------------------------------------- # -----------------------------------------------------------------------
FEATURES ?= FEATURES ?= glfw vulkan turbojpeg xorg vaapi
export FEATURES export FEATURES
# Inject HAVE_ defines into CFLAGS # Inject HAVE_ defines into CFLAGS