diff options
Diffstat (limited to 'src/Makefile.am')
| -rw-r--r-- | src/Makefile.am | 8 |
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) |
