root/doc_inner/gnu_global/S/993.html

/* [<][>][^][v][top][bottom][index][help] */
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>
<html xmlns='http://www.w3.org/1999/xhtml'>
<head>
<title>test/Template/Makefile</title>
<meta name='robots' content='noindex,nofollow' />
<meta name='generator' content='GLOBAL-6.6.5' />
<meta http-equiv='Content-Style-Type' content='text/css' />
<link rel='stylesheet' type='text/css' href='../style.css' />
</head>
<body>
<a id='TOP' name='TOP'></a><h2 class='header'><a href='../mains.html'>root</a>/<a href='../files/2933.html'>test</a>/<a href='../files/2934.html'>Template</a>/Makefile</h2>
<em class='comment'>/* [&lt;][&gt;][^][v][top]<a href='#BOTTOM'>[bottom]</a><a href='../mains.html'>[index]</a><a href='../help.html'>[help]</a> */</em>
<hr />
<pre>
<a id='L1' name='L1'></a># autotest.mk &gt; test_template &gt; Makefile
<a id='L2' name='L2'></a># テストグループ作成のMakefile
<a id='L3' name='L3'></a>#
<a id='L4' name='L4'></a># オペレーター
<a id='L5' name='L5'></a># make         : テストグループディレクトリーを作成し、Makefile群をコピー
<a id='L6' name='L6'></a># make group   : ↓
<a id='L7' name='L7'></a># make groupdir: テストグループディレクトリーを作成
<a id='L8' name='L8'></a># make copymk  : Makefile群をコピー
<a id='L9' name='L9'></a># make linkmk  : Makefile群をコピー
<a id='L10' name='L10'></a>
<a id='L11' name='L11'></a># 変数やマクロの定義
<a id='L12' name='L12'></a>include Define.mk
<a id='L13' name='L13'></a>
<a id='L14' name='L14'></a>.PHONY: group groupdir copymk linkmk
<a id='L15' name='L15'></a>
<a id='L16' name='L16'></a>MKFILE_METHOD = $(if $(LINKMK),linkmk,copymk)
<a id='L17' name='L17'></a>
<a id='L18' name='L18'></a>group: groupdir $(MKFILE_METHOD)
<a id='L19' name='L19'></a>
<a id='L20' name='L20'></a>groupdir:
<a id='L21' name='L21'></a>        @$(MKDIR) $(GROUPDIR)
<a id='L22' name='L22'></a>
<a id='L23' name='L23'></a>copymk:
<a id='L24' name='L24'></a>        @$(CP) $(GROUP_MAKEFILE) $(GROUPDIR)/Makefile
<a id='L25' name='L25'></a>        @$(CP) $(DEFINE_FILE) $(TEST_MAKEFILE) $(GROUPDIR)/
<a id='L26' name='L26'></a>
<a id='L27' name='L27'></a>linkmk:
<a id='L28' name='L28'></a>        @$(LN) $(DEFINE_FILE_REL) $(TEST_MAKEFILE) $(GROUPDIR)/
<a id='L29' name='L29'></a>        @$(LN) $(GROUP_MAKEFILE_REL) $(GROUPDIR)/Makefile
</pre>
<hr />
<a id='BOTTOM' name='BOTTOM'></a>
<em class='comment'>/* [&lt;][&gt;][^][v]<a href='#TOP'>[top]</a>[bottom]<a href='../mains.html'>[index]</a><a href='../help.html'>[help]</a> */</em>
</body>
</html>

/* [<][>][^][v][top][bottom][index][help] */