Makefile 204 B

123456789101112
  1. MAKEFLAGS += --check-symlink-times
  2. TARGET := all debug clean
  3. SRC_DIRS := src
  4. TESTS_DIRS := test
  5. DIRS := ${SRC_DIRS} ${TESTS_DIRS}
  6. ${TARGET}: ${DIRS}
  7. for d in ${DIRS}; \
  8. do \
  9. make $@ -C $$d; \
  10. done