From e6d5aac3d47c48c6b8ccce58757bd3726f6be4b0 Mon Sep 17 00:00:00 2001 From: Abdelrahman Date: Sat, 28 Dec 2024 16:17:11 +0000 Subject: [PATCH] Compile in debug mode --- compile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compile b/compile index 1e5aaf7..e37f698 100755 --- a/compile +++ b/compile @@ -1,9 +1,9 @@ #!/bin/bash CC=clang -CFLAGS="-O3 -c -Wall -Isrc/glad/include" +CFLAGS="-g -c -Wall -Isrc/glad/include" CXX=clang++ -CXXFLAGS="-O3 -Wall -std=c++20 $(pkg-config --cflags sdl2) -Isrc/glad/include -Isrc/glm -Isrc/assimp/include -Isrc/assimp/build/include" +CXXFLAGS="-g -Wall -std=c++20 $(pkg-config --cflags sdl2) -Isrc/glad/include -Isrc/glm -Isrc/assimp/include -Isrc/assimp/build/include" LIBS="$(pkg-config --libs sdl2) -ldl -lz -lminizip -Lsrc/assimp/build/lib/ -lassimp" GLAD_SRC="src/glad/src/glad.c" GLAD_OBJ="glad.o"