Makefile 667 B

12345678910111213141516171819202122232425262728293031
  1. # Makefile for uClibc
  2. #
  3. # Copyright (C) 2000 by Lineo, inc.
  4. # Copyright (C) 2000-2005 Erik Andersen <andersen@uclibc.org>
  5. #
  6. # Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
  7. #
  8. top_builddir=../
  9. include $(top_builddir)Rules.mak
  10. DIRS =
  11. EXTRA_DIRS_TO_CLEAN = config
  12. all: subdirs
  13. tags:
  14. ctags -R
  15. clean: subdirs_clean
  16. subdirs: $(patsubst %, _dir_%, $(DIRS))
  17. subdirs_clean: $(patsubst %, _dirclean_%, $(DIRS) $(EXTRA_DIRS_TO_CLEAN))
  18. $(patsubst %, _dir_%, $(DIRS)) : dummy
  19. $(MAKE) -C $(patsubst _dir_%, %, $@)
  20. $(patsubst %, _dirclean_%, $(DIRS) $(EXTRA_DIRS_TO_CLEAN)) : dummy
  21. $(MAKE) -C $(patsubst _dirclean_%, %, $@) clean
  22. .PHONY: dummy