ref: 91481f8a4bc73fa0f1cd36b6a10ce632c21248aa
parent: 77fb4cedff9a97f8d5538463092dba8d623c69e8
author: Werner Lemberg <[email protected]>
date: Sat Nov 4 18:41:02 EST 2000
Introduced $(space) in the makefiles to get rid of using the comment separator for indicating a trailing space.
--- a/builds/ansi/ansi-def.mk
+++ b/builds/ansi/ansi-def.mk
@@ -72,7 +72,7 @@
# Target flag.
#
-T := -o # Don't remove this comment line! We need the space after `-o'.
+T := -o$(space)
# C flags
--- a/builds/compiler/ansi-cc.mk
+++ b/builds/compiler/ansi-cc.mk
@@ -50,7 +50,7 @@
# Target flag.
#
-T := -o # Don't remove this comment line! We need the space after `-o'.
+T := -o$(space)
# C flags
--- a/builds/compiler/gcc-dev.mk
+++ b/builds/compiler/gcc-dev.mk
@@ -50,7 +50,7 @@
# Target flag.
#
-T := -o # Don't remove this comment line! We need the space after `-o'.
+T := -o$(space)
# C flags
--- a/builds/compiler/gcc.mk
+++ b/builds/compiler/gcc.mk
@@ -50,7 +50,7 @@
# Target flag.
#
-T := -o # Don't remove this comment line! We need the space after `-o'.
+T := -o$(space)
# C flags
--- a/builds/compiler/unix-lcc.mk
+++ b/builds/compiler/unix-lcc.mk
@@ -52,7 +52,7 @@
# Target flag.
#
-T := -o # don't remove this comment, we need a trailing space !!
+T := -o$(space)
# C flags
--- a/builds/os2/os2-dev.mk
+++ b/builds/os2/os2-dev.mk
@@ -88,7 +88,7 @@
# Target flag.
#
-T := -o # Don't remove this comment line! We need the space after `-o'.
+T := -o$(space)
# C flags
--- a/builds/os2/os2-gcc.mk
+++ b/builds/os2/os2-gcc.mk
@@ -87,7 +87,7 @@
# Target flag.
#
-T := -o # Don't remove this comment line! We need the space after `-o'.
+T := -o$(space)
# C flags
--- 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