Introduced $(space) in the makefiles to get rid of using the comment separator for indicating a trailing space.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109
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