Commit 91481f8a4bc73fa0f1cd36b6a10ce632c21248aa

Werner Lemberg 2000-11-04T23:41:02

Introduced $(space) in the makefiles to get rid of using the comment separator for indicating a trailing space.

diff --git a/builds/ansi/ansi-def.mk b/builds/ansi/ansi-def.mk
index 3a35255..9533a28 100644
--- a/builds/ansi/ansi-def.mk
+++ b/builds/ansi/ansi-def.mk
@@ -72,7 +72,7 @@ L := -l
 
 # Target flag.
 #
-T := -o # Don't remove this comment line!  We need the space after `-o'.
+T := -o$(space)
 
 
 # C flags
diff --git a/builds/compiler/ansi-cc.mk b/builds/compiler/ansi-cc.mk
index 3e4a125..3935ee5 100644
--- a/builds/compiler/ansi-cc.mk
+++ b/builds/compiler/ansi-cc.mk
@@ -50,7 +50,7 @@ L := -l
 
 # Target flag.
 #
-T := -o # Don't remove this comment line!  We need the space after `-o'.
+T := -o$(space)
 
 
 # C flags
diff --git a/builds/compiler/gcc-dev.mk b/builds/compiler/gcc-dev.mk
index c03b29b..e26ba16 100644
--- a/builds/compiler/gcc-dev.mk
+++ b/builds/compiler/gcc-dev.mk
@@ -50,7 +50,7 @@ L := -l
 
 # Target flag.
 #
-T := -o # Don't remove this comment line!  We need the space after `-o'.
+T := -o$(space)
 
 
 # C flags
diff --git a/builds/compiler/gcc.mk b/builds/compiler/gcc.mk
index 8fb4a96..54d9696 100644
--- a/builds/compiler/gcc.mk
+++ b/builds/compiler/gcc.mk
@@ -50,7 +50,7 @@ L := -l
 
 # Target flag.
 #
-T := -o # Don't remove this comment line!  We need the space after `-o'.
+T := -o$(space)
 
 
 # C flags
diff --git a/builds/compiler/unix-lcc.mk b/builds/compiler/unix-lcc.mk
index 27394fc..f4046de 100644
--- a/builds/compiler/unix-lcc.mk
+++ b/builds/compiler/unix-lcc.mk
@@ -52,7 +52,7 @@ L := -l
 
 # Target flag.
 #
-T := -o # don't remove this comment, we need a trailing space !!
+T := -o$(space)
 
 
 # C flags
diff --git a/builds/os2/os2-dev.mk b/builds/os2/os2-dev.mk
index d6871ed..0df4bbc 100644
--- a/builds/os2/os2-dev.mk
+++ b/builds/os2/os2-dev.mk
@@ -88,7 +88,7 @@ L := -l
 
 # Target flag.
 #
-T := -o # Don't remove this comment line!  We need the space after `-o'.
+T := -o$(space)
 
 
 # C flags
diff --git a/builds/os2/os2-gcc.mk b/builds/os2/os2-gcc.mk
index 4a835f8..2bed133 100644
--- a/builds/os2/os2-gcc.mk
+++ b/builds/os2/os2-gcc.mk
@@ -87,7 +87,7 @@ L := -l
 
 # Target flag.
 #
-T := -o # Don't remove this comment line!  We need the space after `-o'.
+T := -o$(space)
 
 
 # C flags
diff --git a/builds/toplevel.mk b/builds/toplevel.mk
index 58c0e16..478b825 100644
--- a/builds/toplevel.mk
+++ b/builds/toplevel.mk
@@ -36,6 +36,13 @@
 
 .PHONY: setup
 
+# The `space' variable is used to avoid trailing spaces in defining the
+# `T' variable later.
+#
+empty :=
+space := $(empty) $(empty)
+
+
 ifndef CONFIG_MK
   CONFIG_MK := config.mk
 endif