Use an order-only dependency the presence matters but not the content
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
parent
7ca4ff677d
commit
a13deaf986
1 changed files with 3 additions and 4 deletions
7
Makefile
7
Makefile
|
@ -42,10 +42,9 @@ VISUALC_FILES = visualc/VS2010/mbedTLS.sln visualc/VS2010/mbedTLS.vcxproj
|
||||||
visualc_files: $(VISUALC_FILES)
|
visualc_files: $(VISUALC_FILES)
|
||||||
|
|
||||||
# Ensure that the .c files that generate_visualc_files.pl enumerates are
|
# Ensure that the .c files that generate_visualc_files.pl enumerates are
|
||||||
# present before it runs. List the files explicitly, not via the
|
# present before it runs. It doesn't matter if the files aren't up-to-date,
|
||||||
# library/generated_files indirection, because otherwise running
|
# they just need to be present.
|
||||||
# make visualc_files would always consider the visualc files out of date.
|
$(VISUALC_FILES): | library/generated_files
|
||||||
$(VISUALC_FILES): library/error.c library/version_features.c
|
|
||||||
$(VISUALC_FILES): scripts/generate_visualc_files.pl
|
$(VISUALC_FILES): scripts/generate_visualc_files.pl
|
||||||
$(VISUALC_FILES): scripts/data_files/vs2010-app-template.vcxproj
|
$(VISUALC_FILES): scripts/data_files/vs2010-app-template.vcxproj
|
||||||
$(VISUALC_FILES): scripts/data_files/vs2010-main-template.vcxproj
|
$(VISUALC_FILES): scripts/data_files/vs2010-main-template.vcxproj
|
||||||
|
|
Loading…
Reference in a new issue