diff --git a/src/smblib/Makefile b/src/smblib/Makefile
index 6664860e9f9ae527f0048d669c6aa82c0fa88330..1703c94a81fac604a2fd53a50488a5872bf372ee 100644
--- a/src/smblib/Makefile
+++ b/src/smblib/Makefile
@@ -12,7 +12,6 @@
 
 # Macros
 #DEBUG	=	1				# Comment out for release (non-debug) version
-XPDEV	=	..\xpdev\		# Path to Cross-platform wrappers
 
 # Enable auto-dependency checking
 .autodepend
@@ -22,14 +21,12 @@ SRC_ROOT = ..
 # Cross platform/compiler definitions
 !include ..\build\Common.bmake	# defines clean and output directory rules
 
-CFLAGS = $(CFLAGS) -I$(XPDEV)
-
-.path.c = .;$(XPDEV)
+CFLAGS = $(CFLAGS) -I$(XPDEV_SRC)
 
 # SBBS DLL Link Rule
 $(SMBLIB): $(OBJS)
     @echo Creating $< ...
-	$(QUIET)$(DELETE) $@
+	-$(QUIET)$(DELETE) $@
 	$(QUIET)for %f in ($(OBJS)) do $(QUIET)tlib $@ +%f