From 124c66367d1319c6f2594aa0cdc3b30b51210dce Mon Sep 17 00:00:00 2001 From: j8takagi Date: Mon, 13 Dec 2010 09:34:13 +0900 Subject: [PATCH] =?utf8?q?=E3=82=B3=E3=83=9E=E3=83=B3=E3=83=89=E5=90=8D?= =?utf8?q?=E3=80=81=E3=82=B3=E3=83=A1=E3=83=B3=E3=83=88=E3=81=AE=E4=BF=AE?= =?utf8?q?=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- template/Define.mk | 5 +++-- template/Makefile | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/template/Define.mk b/template/Define.mk index efc1aeb..65eace2 100644 --- a/template/Define.mk +++ b/template/Define.mk @@ -21,7 +21,7 @@ CP ?= cp CAT ?= cat -MKDIR ?= mkdir +MKDIR ?= mkdir -p RM ?= rm -f @@ -45,7 +45,7 @@ TR ?= tr EXPR ?= expr -LINK ?= ln -s +LN ?= ln -s ###################################################################### # テストグループとテストでの共通マクロ @@ -88,6 +88,7 @@ TEST_MAKEFILE := Test.mk # すべてのMakefile群 MAKEFILES := $(DEF_FILE) $(DEF_GROUP_FILE) $(DEF_TEST_FILE) $(TEST_MAKEFILE) +# すべてのMakefile群の絶対パス MAKEFILES_ABS := $(foreach file,$(MAKEFILES),$(CURRDIR)/$(file)) # テストごとのMakefileでインクルードするMakefile群 diff --git a/template/Makefile b/template/Makefile index 5f43798..778f42b 100644 --- a/template/Makefile +++ b/template/Makefile @@ -29,5 +29,5 @@ copymk: @$(CP) $(MAKEFILES) $(GROUPDIR)/ linkmk: - @$(LINK) $(CURRDIR)/$(GROUP_MAKEFILE) $(GROUPDIR)/Makefile - @$(LINK) $(MAKEFILES_ABS) $(GROUPDIR)/ + @$(LN) $(CURRDIR)/$(GROUP_MAKEFILE) $(GROUPDIR)/Makefile + @$(LN) $(MAKEFILES_ABS) $(GROUPDIR)/ -- 2.18.0