ide/Compiler Settings: Fix for DEBUG var support in Makefile, was missing the -D...
authorJerome St-Louis <jerome@ecere.com>
Wed, 18 Apr 2012 02:50:51 +0000 (22:50 -0400)
committerJerome St-Louis <jerome@ecere.com>
Wed, 18 Apr 2012 02:50:51 +0000 (22:50 -0400)
ide/src/project/Project.ec

index 8576d75..49aac3f 100644 (file)
@@ -2029,7 +2029,7 @@ private:
          f.Printf("OBJ = %s%s\n", objDirExpNoSpaces, objDirExpNoSpaces[0] ? "/" : "");
          f.Printf("else\n");
          f.Printf("OBJ = %s.debug%s\n", objDirExpNoSpaces, objDirExpNoSpaces[0] ? "/" : "");
-         f.Printf("CFLAGS += _DEBUG\n");
+         f.Printf("CFLAGS += -D_DEBUG\n");
          f.Printf("endif\n\n");
 
          f.Printf("RES = %s%s\n\n", resDirNoSpaces, resDirNoSpaces[0] ? "/" : "");