diff --git a/source/codeblocks/AssaultCube_Linux.cbp b/source/codeblocks/AssaultCube_Linux.cbp index 0c522ff0..ae04f309 100644 --- a/source/codeblocks/AssaultCube_Linux.cbp +++ b/source/codeblocks/AssaultCube_Linux.cbp @@ -1,428 +1,287 @@ - - - + + + diff --git a/source/src/Makefile b/source/src/Makefile index c76791ca..bf061958 100644 --- a/source/src/Makefile +++ b/source/src/Makefile @@ -8,13 +8,21 @@ # continue using clang++ (just in case), you can use g++ if you prefer. CXX=clang++ -# Changing this to ACDEBUG=yes will compile a debug version of AssaultCube. -ACDEBUG=no +# call like 'DEBUGBUILD=1 make' to compile a debug version of AssaultCube. +ifdef DEBUGBUILD + ACDEBUG=yes +else + ACDEBUG=no +endif PLATFORM=$(shell uname -s) # This prefix is only used to name the installed executables. -PLATFORM_PREFIX=native +ifdef DEBUGBUILD + PLATFORM_PREFIX=debug +else + PLATFORM_PREFIX=native +endif # As above, this file is optional only. -include Makefile_local