Browse Source

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

This is for consistency and more robust make.
Isaku Yamahata 5 years ago
parent
commit
6381996fe0
1 changed files with 1 additions and 1 deletions
  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: