Makefile 303 B

123456789101112131415161718
  1. SYS ?= $(shell gcc -dumpmachine)
  2. export SYS
  3. targets = all clean
  4. ifeq ($(SYS),x86_64-linux-gnu)
  5. targets += pack
  6. endif
  7. .PHONY: $(targets)
  8. $(targets):
  9. $(MAKE) -C Pal $@
  10. $(MAKE) -C LibOS $@
  11. $(MAKE) -C Runtime $@
  12. .PHONY: install
  13. install:
  14. @echo "\"make install\" is deprecated. use \"make\" instead."