aboutsummaryrefslogtreecommitdiff
path: root/lib/Makefile.Watcom
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Makefile.Watcom')
-rw-r--r--lib/Makefile.Watcom6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/Makefile.Watcom b/lib/Makefile.Watcom
index be24a807e..4807972f1 100644
--- a/lib/Makefile.Watcom
+++ b/lib/Makefile.Watcom
@@ -10,15 +10,17 @@ SYS_INCL = -I$(%watcom)\h\nt -I$(%watcom)\h
SYS_LIBS = $(%watcom)\lib386\nt;$(%watcom)\lib386
!endif
-!ifndef %libname
+!ifdef %libname
+LIBNAME = $(%libname)
+!else
LIBNAME = libcurl
!endif
TARGETS = $(LIBNAME).dll $(LIBNAME)_imp.lib $(LIBNAME).lib
CC = wcc386
LD = wlink
-RC = wrc
AR = wlib
+RC = wrc
!ifdef __LOADDLL__
! loaddll wcc386 wccd386