瀏覽代碼

Linux-SGX: Makefile to use $(MAKE), not "make" command directly

This is for consistency and more robust make.
Isaku Yamahata 7 年之前
父節點
當前提交
6381996fe0
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Pal/src/host/Linux-SGX/Makefile

+ 1 - 1
Pal/src/host/Linux-SGX/Makefile

@@ -67,7 +67,7 @@ debugger/sgx_gdb.so: debugger/sgx_gdb.c debugger/sgx_gdb.h sgx_arch.h
 	$(LD) -shared debugger/sgx_gdb.o -o debugger/sgx_gdb.so -lc
 
 sgx-driver/isgx_version.h:
-	cd sgx-driver && make isgx_version.h
+	$(MAKE) -C sgx-driver $(notdir $<)
 
 .PHONY: clean
 clean: