Makefile 591 B

1234567891011121314151617181920212223242526
  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: format
  17. format:
  18. clang-format -i $(shell find . -path ./lib/crypto/mbedtls -prune -o \
  19. -path ./lib/crypto/udivmodti4.c -prune -o \
  20. -path ./src/host/Linux-SGX/sgx-driver -prune -o \
  21. \( -name '*.h' -o -name '*.c' \) -print)