aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorvimene <vincent.menegaux@gmail.com>2025-12-26 22:39:08 +0100
committervimene <vincent.menegaux@gmail.com>2025-12-26 22:39:08 +0100
commitbdb86fa1d6f1d2f11e05a931db7597310b1fe9b5 (patch)
tree8604fe08efa41dceedf74a6e81fa9629a7a88e1c /src/Makefile.am
parentc0eeccb889c8ae969bbb6e44e87bc309ea5f146f (diff)
downloadengine-bdb86fa1d6f1d2f11e05a931db7597310b1fe9b5.tar.gz
started working on implementing textures
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am8
1 files changed, 7 insertions, 1 deletions
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)