makefile 443 B

12345678910111213141516171819202122
  1. PRAWNOS_ROOT := $(shell git rev-parse --show-toplevel)
  2. include $(PRAWNOS_ROOT)/scripts/BuildScripts/BuildCommon.mk
  3. SUBDIRS = $(shell ls -d */)
  4. all:
  5. for dir in $(SUBDIRS) ; do \
  6. make -C $$dir ; \
  7. done
  8. clean:
  9. for dir in $(SUBDIRS) ; do \
  10. make clean -C $$dir ; \
  11. done
  12. install:
  13. $(info packages install target is $(INSTALL_TARGET))
  14. for dir in $(SUBDIRS) ; do \
  15. make install INSTALL_TARGET=$(INSTALL_TARGET) -C $$dir ; \
  16. done