Makefile 588 B

123456789101112131415161718192021222324252627282930313233
  1. SHELL = /bin/sh
  2. include Makefile.conf
  3. SUBDIRS = $(MPISERPATH) $(MPEUPATH) $(MCTPATH)
  4. # TARGETS
  5. subdirs:
  6. @set -e; for dir in $(SUBDIRS); do \
  7. cd $$dir; \
  8. $(MAKE); \
  9. cd $(abs_top_builddir); \
  10. done
  11. clean:
  12. @set -e; for dir in $(SUBDIRS); do \
  13. cd $$dir; \
  14. $(MAKE) clean; \
  15. cd $(abs_top_builddir); \
  16. done
  17. install: subdirs
  18. @set -e; for dir in $(SUBDIRS); do \
  19. cd $$dir; \
  20. $(MAKE) install; \
  21. cd $(abs_top_builddir); \
  22. done
  23. examples: subdirs
  24. @cd $(EXAMPLEPATH) && $(MAKE)