From 06869597c3f5b29e69786c6f51321e6783c45461 Mon Sep 17 00:00:00 2001 From: Guenter Knauf Date: Tue, 10 Aug 2010 21:27:01 +0200 Subject: More Watcom makefile fixes ... Final fix (hopefully!) for dll wlink loader; prefer faster internal rm if available. --- src/Makefile.Watcom | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'src/Makefile.Watcom') diff --git a/src/Makefile.Watcom b/src/Makefile.Watcom index 1c628a4e1..84d78c1f2 100644 --- a/src/Makefile.Watcom +++ b/src/Makefile.Watcom @@ -26,15 +26,19 @@ RC = wrc ! loaddll wcc386 wccd386 ! loaddll wpp386 wppd386 ! loaddll wlib wlibd -! if $(__VERSION__) < 1280 -! loaddll wlink wlink -! else +! if $(__VERSION__) > 1270 ! loaddll wlink wlinkd +! else +! loaddll wlink wlink ! endif !endif -MD = mkdir +!if $(__VERSION__) < 1250 RM = del /q /f >NUL 2>&1 +!else +RM = rm -f +!endif +MD = mkdir RD = rmdir /q /s >NUL 2>&1 CP = copy -- cgit v1.2.3