diff --git a/.gitignore b/.gitignore index e105966..fd16473 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ *.o game .sconsign.dblite +.gdb_history diff --git a/SConstruct b/SConstruct index f3650f0..4a3319e 100644 --- a/SConstruct +++ b/SConstruct @@ -12,6 +12,6 @@ def glob_recurse(dir): sources = glob_recurse(Path('src/')) -env = Environment(CCFLAGS=['-std=c++20', '-Wall', '-O0', '-g3']) +env = Environment(CCFLAGS=['-std=c++20', '-Wall', '-O0', '-g3', '-DPROJECTNAME=\\\"'+project+'\\\"']) env.ParseConfig('sdl2-config --static-libs') env.Program(project, sources)