Makefile 199 B

12345678910111213
  1. SYS ?= $(shell gcc -dumpmachine)
  2. export SYS
  3. targets = all clean install
  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 $@