makefile ãèªã¿è¾¼ããªã©ã®åä½ã®åã«ããã£ã¬ã¯ã㪠dir ã«ç§»åããã (ä¸ç¥) ãã®ãªãã·ã§ã³ã¯é常ãmake ãå帰çã«å¼ã³åºãã¨ãã«ä½¿ãããã ã¨æ¸ãã¦ããã¾ãã ã»ã¨ãã©ã®å ´é¢ã§ ãmake -C dirãã¯ãcd dir; makeãã¨åãã¨èãã¦ããã¨æããã ãããã«æåãéãé¨åããããã¨ã«æè¿æ°ã¥ããã å®é¨ã®ããã次ã®ãã㪠/home/foo/Makefile, /home/foo/bar/Makefile ã¨ãã2ã¤ã® Makefile ãç¨æã /home/foo/Makefileã®å 容: all: @ echo CURDIR = $(CURDIR) @ echo PWD = $(PWD) @ cd bar; $(MAKE) /home/foo/bar/Makefileã®å 容: all: @ echo CURDIR = $(CURDIR) @ echo
{{#tags}}- {{label}}
{{/tags}}