소스 검색

[Pal] Do not calculate .manifest.sgx.d dependencies during make clean

Isaku Yamahata 6 년 전
부모
커밋
4f592769a0
2개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      Pal/regression/Makefile
  2. 2 0
      Pal/test/Makefile

+ 2 - 0
Pal/regression/Makefile

@@ -66,9 +66,11 @@ $(executables): %: %.c $(LDLIBS-executables)
 	$(call cmd,csingle)
 
 include $(wildcard *.d)
+ifeq ($(filter clean,$(MAKECMDGOALS)),)
 ifeq ($(SGX), 1)
 include $(addsuffix .manifest.sgx.d,$(executables))
 endif
+endif
 
 .lib/host_endian.h: ../src/host/$(PAL_HOST)/host_endian.h
 	@mkdir -p .lib

+ 2 - 0
Pal/test/Makefile

@@ -53,9 +53,11 @@ $(executables): %: %.c $(LDLIBS)
 
 $(graphene_lib): .lib/host_endian.h
 	$(MAKE) -C ../lib target=$(abspath .lib)/
+ifeq ($(filter clean,$(MAKECMDGOALS)),)
 ifeq ($(SGX), 1)
 include $(addsuffix .manifest.sgx.d,$(executables))
 endif
+endif
 else
 .IGNORE: $(executables)
 $(executables):