Quellcode durchsuchen

[Makefile] Don't include generated dependencies on clean

If we include dependencies in a Makefile for which a target exists
(currently this only affects the manifest.sgx.d targets) then Make will
generate them and then clean will delete them ... so just don't include
them on clean.
Simon Gaiser vor 6 Jahren
Ursprung
Commit
d97db4a1e2
1 geänderte Dateien mit 2 neuen und 0 gelöschten Zeilen
  1. 2 0
      Pal/test/Makefile

+ 2 - 0
Pal/test/Makefile

@@ -63,7 +63,9 @@ else
 $(executables):
 endif
 
+ifeq ($(filter clean,$(MAKECMDGOALS)),)
 -include $(addsuffix .d, $(executables)) $(addsuffix .i.d, $(executables)) $(addsuffix .s.d, $(executables))
+endif
 
 .PHONY: clean
 clean: