Clone of mesa.
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

Makefile 408B

123456789101112131415161718192021222324252627282930
  1. # progs/Makefile
  2. TOP = ..
  3. include $(TOP)/configs/current
  4. SUBDIRS = $(PROGRAM_DIRS)
  5. default: message subdirs
  6. message:
  7. @echo "Making programs for" $(CONFIG_NAME)
  8. subdirs:
  9. @for dir in $(SUBDIRS) ; do \
  10. if [ -d $$dir ] ; then \
  11. (cd $$dir ; $(MAKE)) || exit 1 ; \
  12. fi \
  13. done
  14. clean:
  15. @for dir in $(SUBDIRS) tests ; do \
  16. if [ -d $$dir ] ; then \
  17. (cd $$dir ; $(MAKE) clean) ; \
  18. fi \
  19. done