wmake/makefiles/files: Updated comments

This commit is contained in:
Henry Weller
2020-12-11 07:51:52 +00:00
parent a09465f98d
commit 1156a55669

View File

@ -36,7 +36,7 @@ include $(GENERAL_RULES)/general
#------------------------------------------------------------------------------
# Declare names of make system control files derived from file 'files'
# Declare names of make system control files
#------------------------------------------------------------------------------
OBJECTS_DIR = $(MAKE_DIR)/$(WM_OPTIONS)
@ -47,12 +47,9 @@ include $(OPTIONS)
#------------------------------------------------------------------------------
# Declare dependency of all make system files on FILES
# Causes all derived files to be remade if any are changed or missing
# Scan Make/files for source file names and create the SOURCE entry
#------------------------------------------------------------------------------
all : $(FILES)
# Create a sed pattern from the source file suffix list
SUFFIX_SED = \
$(foreach s,$(SUFFIXES),'-e s/\(^ *\)\([^ ]*\$(s)$$\)/\1SOURCE += \2/')