Makefile 234 B

1234567891011121314
  1. MAKEFLAGS += --check-symlink-times
  2. SYS ?= $(shell gcc -dumpmachine)
  3. export SYS
  4. targets = all debug clean
  5. ifeq ($(SYS),x86_64-linux-gnu)
  6. targets += pack
  7. endif
  8. .PHONY: $(targets)
  9. $(targets): src test
  10. make $@ -C src
  11. make $@ -C test