Makefile 255 B

12345678910111213141516
  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. for d in src test; \
  11. do \
  12. make $@ -C $$d; \
  13. done