From 8471da9decbfa7e68950a391a377e3d1e1eec6de Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Thu, 3 Oct 2019 08:23:22 -0600 Subject: [PATCH] tools/Config.mk: Update comments to indicate how to use the single-file compilation options. --- tools/Config.mk | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/tools/Config.mk b/tools/Config.mk index 6b81de8367f..01085e3a9bc 100644 --- a/tools/Config.mk +++ b/tools/Config.mk @@ -106,6 +106,10 @@ endif # # CPP - The command to invoke the C pre-processor # CPPFLAGS - Options to pass to the C pre-processor +# +# '.c_CPPFLAGS += ' may also be used, as an example, to +# change the options used with the single file .c (or +# .S) define PREPROCESS @echo "CPP: $1->$2" @@ -120,6 +124,9 @@ endef # # CC - The command to invoke the C compiler # CFLAGS - Options to pass to the C compiler +# +# '.c_CFLAGS += ' may also be used, as an example, to +# change the options used with the single file .c define COMPILE @echo "CC: $1" @@ -134,6 +141,9 @@ endef # # CXX - The command to invoke the C++ compiler # CXXFLAGS - Options to pass to the C++ compiler +# +# '.cxx_CXXFLAGS += ' may also be used, as an example, to +# change the options used with the single file .cxx define COMPILEXX @echo "CXX: $1" @@ -155,6 +165,9 @@ endef # CC - By default, the C compiler is used to compile assembly language # files # AFLAGS - Options to pass to the C+compiler +# +# '.s_CFLAGS += ' may also be used, as an example, to change +# the options used with the single file .s define ASSEMBLE @echo "AS: $1"