feature(Makefile): pretty makefile, added -rdynamic LDFLAG, moved debug warning, added debug Makefile rule

This commit is contained in:
xtrm
2024-04-23 20:21:53 +02:00
parent 5af4c82c1b
commit 3b4a1de9f3
2 changed files with 75 additions and 55 deletions

View File

@@ -6,7 +6,7 @@
/* By: maldavid <kbz_8.dev@akel-engine.com> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/12/17 23:33:34 by maldavid #+# #+# */
/* Updated: 2024/01/20 08:20:07 by maldavid ### ########.fr */
/* Updated: 2024/04/23 20:09:14 by kiroussa ### ########.fr */
/* */
/* ************************************************************************** */
@@ -16,14 +16,6 @@
#include <renderer/core/render_core.h>
#include <renderer/command/vk_cmd_buffer.h>
#ifdef DEBUG
#ifdef MLX_COMPILER_MSVC
#pragma NOTE("MLX is being compiled in debug mode, this activates Vulkan's validation layers and debug messages which may impact rendering performances")
#else
#warning "MLX is being compiled in debug mode, this activates Vulkan's validation layers and debug messages which may impact rendering performances"
#endif
#endif
namespace mlx
{
namespace RCore