23 lines
		
	
	
		
			473 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			473 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
.PHONY: all build_src build_test test clean
 | 
						|
 | 
						|
all: build_src build_test
 | 
						|
 | 
						|
init:
 | 
						|
	git submodule init
 | 
						|
	git submodule update
 | 
						|
	#cd deps/rust-sgx-sdk && git apply ../rust-sgx-sdk.patch
 | 
						|
	cd deps/sgx_protect_file && make
 | 
						|
 | 
						|
build_src:
 | 
						|
	@$(MAKE) --no-print-directory -C src
 | 
						|
 | 
						|
build_test:
 | 
						|
	@$(MAKE) --no-print-directory -C test
 | 
						|
 | 
						|
test: build_test
 | 
						|
	@$(MAKE) --no-print-directory -C test test
 | 
						|
 | 
						|
clean:
 | 
						|
	@$(MAKE) --no-print-directory -C src clean
 | 
						|
	@$(MAKE) --no-print-directory -C test clean
 |