From: John Hodge Date: Mon, 14 May 2012 06:56:29 +0000 (+0800) Subject: Little fix to global makefile X-Git-Tag: rel0.15~708 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=2b443383e8a23c0cfdd97cb4b7ef4a5694ac0e27;p=tpg%2Facess2.git Little fix to global makefile --- diff --git a/Makefile.cfg b/Makefile.cfg index 14d5065f..53784d29 100644 --- a/Makefile.cfg +++ b/Makefile.cfg @@ -2,14 +2,14 @@ # Acess2 Build Configuration # +ACESSDIR := $(dir $(lastword $(MAKEFILE_LIST))) +ACESSDIR := $(shell cd $(ACESSDIR) && pwd) + # Install destination configuration -DISTROOT := a:/Acess2 +DISTROOT := -i $(ACESSDIR)/Acess2.img ::/Acess2 xCP := mcopy -D o xMKDIR := mmd -D s -ACESSDIR := $(dir $(lastword $(MAKEFILE_LIST))) -ACESSDIR := $(shell cd $(ACESSDIR) && pwd) - -include $(ACESSDIR)/Makefile.Version.cfg # Default build programs