From f3fd9402ebe1c0fe56679a7c8aa2738f3a06f03c Mon Sep 17 00:00:00 2001
From: deuce <>
Date: Sat, 30 Dec 2006 06:57:21 +0000
Subject: [PATCH] Honour SRC_ROOT

---
 xtrn/sbl/Makefile | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/xtrn/sbl/Makefile b/xtrn/sbl/Makefile
index 8dde8c881e..eac5f3b577 100644
--- a/xtrn/sbl/Makefile
+++ b/xtrn/sbl/Makefile
@@ -8,14 +8,18 @@
 CC		=	bcc32
 LD		=	ilink32
 XSDK	= ..\sdk
+!ifndef SRC_ROOT
+	SRC_ROOT=	..\..\src
+!endif
+
 !ifndef XPDEV
- XPDEV		=	../../src/xpdev
+ XPDEV		=	$(SRC_ROOT)\xpdev
 !endif
 !ifndef SBBS_SRC
- SBBS_SRC	=	../../src/sbbs3
+ SBBS_SRC	=	$(SRC_ROOT)\sbbs3
 !endif
 !ifndef SMBLIB_SRC
- SMBLIB_SRC	=	../../src/smblib
+ SMBLIB_SRC	=	$(SRC_ROOT)\smblib
 !endif
 
 CFLAGS	= -WM -I$(XSDK);$(XPDEV);$(SBBS_SRC);$(SMBLIB_SRC)
-- 
GitLab