summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.Watcom4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.Watcom b/Makefile.Watcom
index fdee10a..c1c6d5b 100644
--- a/Makefile.Watcom
+++ b/Makefile.Watcom
@@ -10,7 +10,9 @@ 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 = cares
!endif
TARGETS = $(LIBNAME).dll $(LIBNAME)_imp.lib $(LIBNAME).lib