Makefile 446 B

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