sdk/build system: Took out bad ifdef that was breaking CONSOLE
authorJerome St-Louis <jerome@ecere.com>
Mon, 5 Nov 2012 08:53:14 +0000 (03:53 -0500)
committerJerome St-Louis <jerome@ecere.com>
Mon, 5 Nov 2012 08:53:14 +0000 (03:53 -0500)
22 files changed:
compiler/ecc/Makefile
compiler/ecp/Makefile
compiler/ecs/Makefile
compiler/libec/Makefile
deps/freetype-2.3.12/Makefile
deps/jpeg-6b/Makefile
deps/libffi-3.0.11/Makefile
deps/libpng-1.4.0/Makefile
deps/libungif-4.1.1/Makefile
deps/zlib/Makefile
documentor/Makefile
ear/cmd/Makefile
ear/extract/Makefile
ecere/Makefile
ecere/Makefile.ecereCOM
ecere/Makefile.vanilla
eda/drivers/sqlite/Makefile
eda/drivers/sqliteCipher/Makefile
eda/libeda/Makefile
epj2make/Makefile
ide/Makefile
ide/src/project/Project.ec

index 4c5084f..d5345db 100755 (executable)
@@ -25,9 +25,7 @@ ifdef DEBUG
 NOSTRIP := y
 endif
 
-ifdef EXECUTABLE_TARGET
 CONSOLE = -mconsole
-endif
 
 # INCLUDES
 
index 0bbf9c2..e7f5b46 100755 (executable)
@@ -25,9 +25,7 @@ ifdef DEBUG
 NOSTRIP := y
 endif
 
-ifdef EXECUTABLE_TARGET
 CONSOLE = -mconsole
-endif
 
 # INCLUDES
 
index f019bfb..6e1f749 100755 (executable)
@@ -25,9 +25,7 @@ ifdef DEBUG
 NOSTRIP := y
 endif
 
-ifdef EXECUTABLE_TARGET
 CONSOLE = -mconsole
-endif
 
 # INCLUDES
 
index 37628a3..6db96a4 100755 (executable)
@@ -26,9 +26,7 @@ ifdef DEBUG
 NOSTRIP := y
 endif
 
-ifdef EXECUTABLE_TARGET
 CONSOLE = -mwindows
-endif
 
 # INCLUDES
 
index bc02126..dcfc7aa 100755 (executable)
@@ -25,9 +25,7 @@ ifdef DEBUG
 NOSTRIP := y
 endif
 
-ifdef EXECUTABLE_TARGET
 CONSOLE = -mwindows
-endif
 
 # INCLUDES
 
index 51ec4f1..8ec4838 100755 (executable)
@@ -25,9 +25,7 @@ ifdef DEBUG
 NOSTRIP := y
 endif
 
-ifdef EXECUTABLE_TARGET
 CONSOLE = -mwindows
-endif
 
 # INCLUDES
 
index 024c584..602e55b 100755 (executable)
@@ -25,9 +25,7 @@ ifdef DEBUG
 NOSTRIP := y
 endif
 
-ifdef EXECUTABLE_TARGET
 CONSOLE = -mwindows
-endif
 
 # INCLUDES
 
index dd374bf..83dce21 100755 (executable)
@@ -25,9 +25,7 @@ ifdef DEBUG
 NOSTRIP := y
 endif
 
-ifdef EXECUTABLE_TARGET
 CONSOLE = -mwindows
-endif
 
 # INCLUDES
 
index 379d34a..fe018da 100755 (executable)
@@ -25,9 +25,7 @@ ifdef DEBUG
 NOSTRIP := y
 endif
 
-ifdef EXECUTABLE_TARGET
 CONSOLE = -mwindows
-endif
 
 # INCLUDES
 
index 128861d..81ae7c4 100755 (executable)
@@ -25,9 +25,7 @@ ifdef DEBUG
 NOSTRIP := y
 endif
 
-ifdef EXECUTABLE_TARGET
 CONSOLE = -mwindows
-endif
 
 # INCLUDES
 
index cfeff4b..5a00d0a 100755 (executable)
@@ -25,9 +25,7 @@ ifdef DEBUG
 NOSTRIP := y
 endif
 
-ifdef EXECUTABLE_TARGET
 CONSOLE = -mwindows
-endif
 
 # INCLUDES
 
index 8a65483..b369783 100755 (executable)
@@ -25,9 +25,7 @@ ifdef DEBUG
 NOSTRIP := y
 endif
 
-ifdef EXECUTABLE_TARGET
 CONSOLE = -mconsole
-endif
 
 # INCLUDES
 
index db351be..9ba18a9 100755 (executable)
@@ -25,9 +25,7 @@ ifdef DEBUG
 NOSTRIP := y
 endif
 
-ifdef EXECUTABLE_TARGET
 CONSOLE = -mwindows
-endif
 
 # INCLUDES
 
index 5b181c7..92cc82b 100755 (executable)
@@ -25,9 +25,7 @@ ifdef DEBUG
 NOSTRIP := y
 endif
 
-ifdef EXECUTABLE_TARGET
 CONSOLE = -mwindows
-endif
 
 # INCLUDES
 
index a44012b..0a37df5 100755 (executable)
@@ -25,9 +25,7 @@ ifdef DEBUG
 NOSTRIP := y
 endif
 
-ifdef EXECUTABLE_TARGET
 CONSOLE = -mwindows
-endif
 
 # INCLUDES
 
index 07b35c2..7d3e1fa 100755 (executable)
@@ -25,9 +25,7 @@ ifdef DEBUG
 NOSTRIP := y
 endif
 
-ifdef EXECUTABLE_TARGET
 CONSOLE = -mwindows
-endif
 
 # INCLUDES
 
index f36603d..1b7ccf6 100755 (executable)
@@ -25,9 +25,7 @@ ifdef DEBUG
 NOSTRIP := y
 endif
 
-ifdef EXECUTABLE_TARGET
 CONSOLE = -mwindows
-endif
 
 # INCLUDES
 
index 5deb926..d7964d6 100755 (executable)
@@ -25,9 +25,7 @@ ifdef DEBUG
 NOSTRIP := y
 endif
 
-ifdef EXECUTABLE_TARGET
 CONSOLE = -mwindows
-endif
 
 # INCLUDES
 
index b79dbca..686d4fb 100755 (executable)
@@ -25,9 +25,7 @@ ifdef DEBUG
 NOSTRIP := y
 endif
 
-ifdef EXECUTABLE_TARGET
 CONSOLE = -mwindows
-endif
 
 # INCLUDES
 
index c4ffbb8..fd1f3d3 100755 (executable)
@@ -25,9 +25,7 @@ ifdef DEBUG
 NOSTRIP := y
 endif
 
-ifdef EXECUTABLE_TARGET
 CONSOLE = -mconsole
-endif
 
 # INCLUDES
 
index 3d2b261..6181ce7 100755 (executable)
@@ -25,9 +25,7 @@ ifdef DEBUG
 NOSTRIP := y
 endif
 
-ifdef EXECUTABLE_TARGET
 CONSOLE = -mwindows
-endif
 
 # INCLUDES
 
index 118b9c2..61b64bc 100755 (executable)
@@ -2263,9 +2263,10 @@ private:
          f.Puts("ifdef DEBUG\n" "NOSTRIP := y\n" "endif\n");
          f.Puts("\n");
 
-         f.Puts("ifdef EXECUTABLE_TARGET\n");
+         // Important: We cannot use this ifdef anymore, EXECUTABLE_TARGET is not yet defined. It's embedded in the crossplatform.mk EXECUTABLE
+         //f.Puts("ifdef EXECUTABLE_TARGET\n");
          f.Printf("CONSOLE = %s\n", GetConsole(config) ? "-mconsole" : "-mwindows");
-         f.Puts("endif\n");
+         //f.Puts("endif\n");
          f.Puts("\n");
 
          f.Puts("# INCLUDES\n\n");