Files
Simon Gaiser 2d29f7aaeb [Makefile] Drop SGX_RUN
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.
2019-09-27 12:38:14 +02:00

26 lines
403 B
Makefile

MAKEFLAGS += --check-symlink-times
SYS ?= $(shell gcc -dumpmachine)
export SYS
.PHONY: all
all:
$(MAKE) -C src
.PHONY: test
test:
$(MAKE) -C test
.PHONY: sgx-tokens
sgx-tokens:
$(MAKE) -C test sgx-tokens
.PHONY: clean
clean:
$(MAKE) -C src clean
$(MAKE) -C test clean
.PHONY: format
format:
clang-format -i $(shell find . -path ./test/apps -prune -o \( -name '*.h' -o -name '*.c' \) -print)