Makefile 276 B

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