Files
graphene/Pal/Makefile
Stefan Berger 679dcb134e [Pal] Merge Pal/test directory into Pal/regression
Move and clean up all testcases from the Pal/test directory into the
Pal/regression and add them to CI. Some of them were redundant and thus
got removed.
2020-04-08 00:58:19 +02:00

37 lines
805 B
Makefile

include ../Scripts/Makefile.configs
DIRS = src crt_init regression
.PHONY: all
all:
$(MAKE) -C src
$(MAKE) -C crt_init
clean_targets = clean distclean
.PHONY: $(clean_targets)
$(clean_targets):
$(MAKE) -C src $@
$(MAKE) -C crt_init $@
$(MAKE) -C regression $@
$(MAKE) -C lib $@
.PHONY: test
test:
$(MAKE) -C src test
$(MAKE) -C crt_init test
$(MAKE) -C regression
.PHONY: sgx-tokens
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)
.PHONY: distclean
distclean: clean