Makefile 685 B

12345678910111213141516171819202122232425262728293031
  1. include src/Makefile.Host
  2. DIRS = src test regression
  3. .PHONY: all
  4. all:
  5. $(MAKE) -C src
  6. .PHONY: clean
  7. clean:
  8. $(MAKE) -C src clean
  9. $(MAKE) -C test clean
  10. $(MAKE) -C regression clean
  11. .PHONY: test
  12. test:
  13. $(MAKE) -C src test
  14. $(MAKE) -C test
  15. $(MAKE) -C regression
  16. .PHONY: sgx-tokens
  17. sgx-tokens:
  18. $(MAKE) -C test sgx-tokens
  19. $(MAKE) -C regression sgx-tokens
  20. .PHONY: format
  21. format:
  22. clang-format -i $(shell find . -path ./lib/crypto/mbedtls -prune -o \
  23. -path ./lib/crypto/udivmodti4.c -prune -o \
  24. -path ./src/host/Linux-SGX/sgx-driver -prune -o \
  25. \( -name '*.h' -o -name '*.c' \) -print)