mirror of
https://github.com/clearlinux/graphene.git
synced 2026-09-06 05:41:37 +00:00
For detection of SGX/non-SGX (for example in regression tests) always use the SGX environment variable. To generate launch/EINIT tokens use the new 'sgx-tokens' Make target.
32 lines
685 B
Makefile
32 lines
685 B
Makefile
include src/Makefile.Host
|
|
|
|
DIRS = src test regression
|
|
|
|
.PHONY: all
|
|
all:
|
|
$(MAKE) -C src
|
|
|
|
.PHONY: clean
|
|
clean:
|
|
$(MAKE) -C src clean
|
|
$(MAKE) -C test clean
|
|
$(MAKE) -C regression clean
|
|
|
|
.PHONY: test
|
|
test:
|
|
$(MAKE) -C src test
|
|
$(MAKE) -C test
|
|
$(MAKE) -C regression
|
|
|
|
.PHONY: sgx-tokens
|
|
sgx-tokens:
|
|
$(MAKE) -C test sgx-tokens
|
|
$(MAKE) -C regression sgx-tokens
|
|
|
|
.PHONY: format
|
|
format:
|
|
clang-format -i $(shell find . -path ./lib/crypto/mbedtls -prune -o \
|
|
-path ./lib/crypto/udivmodti4.c -prune -o \
|
|
-path ./src/host/Linux-SGX/sgx-driver -prune -o \
|
|
\( -name '*.h' -o -name '*.c' \) -print)
|