From bdb86fa1d6f1d2f11e05a931db7597310b1fe9b5 Mon Sep 17 00:00:00 2001 From: vimene Date: Fri, 26 Dec 2025 22:39:08 +0100 Subject: started working on implementing textures --- src/Makefile.am | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/Makefile.am') diff --git a/src/Makefile.am b/src/Makefile.am index 88e4ee3..805db1f 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -26,7 +26,13 @@ engine_SOURCES = \ o3d/scene.hpp \ ctrl/keyboard.hpp \ ctrl/mouse.hpp -engine_CPPFLAGS = -std=gnu++23 -Wall -Wextra -DDATADIR='"$(datadir)"' -DSHADERSDIR='"$(shadersdir)"' $(GLFW3_CFLAGS) $(STB_CFLAGS) $(VULKAN_CFLAGS) + +# TODO: we should somehow pass assetsdir and texturesdir from ../Makefile.am to this Makefile.am. +# We assume that they will always be relative to datadir, which might not be true if they are +# configured differently +engine_CPPFLAGS = -std=gnu++23 -Wall -Wextra \ + -DDATADIR='"$(datadir)"' -DSHADERSDIR='"$(shadersdir)"' \ + $(GLFW3_CFLAGS) $(STB_CFLAGS) $(VULKAN_CFLAGS) engine_LDFLAGS = -std=gnu++23 -Wall -Wextra engine_LDADD = $(GLFW3_LIBS) $(STB_LIBS) $(VULKAN_LIBS) -- cgit v1.2.3