]> granicus.if.org Git - curl/commitdiff
More Watcom makefile fixes ...
authorGuenter Knauf <lists@gknw.net>
Tue, 10 Aug 2010 19:27:01 +0000 (21:27 +0200)
committerGuenter Knauf <lists@gknw.net>
Tue, 10 Aug 2010 19:27:01 +0000 (21:27 +0200)
Final fix (hopefully!) for dll wlink loader;
prefer faster internal rm if available.

lib/Makefile.Watcom
src/Makefile.Watcom

index bae1bd45968a8b7c20aaebfafa89d29042f573d8..63624d31ad9e8b1e5fc5f2740dcaaedae899fdfe 100644 (file)
@@ -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
 
index 1c628a4e18ca0ff09ef6b1a52ee09bf4f51049a9..84d78c1f271a9c92da89fbba5fe5b8d0e8410d7a 100644 (file)
@@ -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