Makefile 403 B

12345678910111213141516171819202122232425
  1. MAKEFLAGS += --check-symlink-times
  2. SYS ?= $(shell gcc -dumpmachine)
  3. export SYS
  4. .PHONY: all
  5. all:
  6. $(MAKE) -C src
  7. .PHONY: test
  8. test:
  9. $(MAKE) -C test
  10. .PHONY: sgx-tokens
  11. sgx-tokens:
  12. $(MAKE) -C test sgx-tokens
  13. .PHONY: clean
  14. clean:
  15. $(MAKE) -C src clean
  16. $(MAKE) -C test clean
  17. .PHONY: format
  18. format:
  19. clang-format -i $(shell find . -path ./test/apps -prune -o \( -name '*.h' -o -name '*.c' \) -print)