aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile.m32
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile.m32')
-rw-r--r--src/Makefile.m3212
1 files changed, 11 insertions, 1 deletions
diff --git a/src/Makefile.m32 b/src/Makefile.m32
index 296d36fb7..a79ad05d7 100644
--- a/src/Makefile.m32
+++ b/src/Makefile.m32
@@ -41,6 +41,7 @@ LDFLAGS = -s
RC = windres
RCFLAGS = --include-dir=../include -O COFF -i
RM = del /q /f
+CP = copy
# We may need these someday
# PERL = perl
@@ -95,7 +96,7 @@ ifdef LDAPS
curl_LDADD += -L"$(LDAP_SDK)/lib/mscvc" -lldapsdk -lldapssl -lldapx
endif
endif
-curl_LDADD += -lwsock32 -lws2_32 -lwinmm -lwldap32
+curl_LDADD += -lws2_32 -lwinmm -lwldap32
COMPILE = $(CC) $(INCLUDES) $(CFLAGS)
# Makefile.inc provides the CSOURCES and HHEADERS defines
@@ -118,6 +119,10 @@ curl.exe: curl.res $(curl_OBJECTS) $(curl_DEPENDENCIES)
# -$(RM) hugehelp.c
# $(NROFF) -man ../curl.1 | $(PERL) mkhelp.pl ../README.curl > hugehelp.c
+hugehelp.c:
+ @echo Creating $@
+ @$(CP) hugehelp.c.cvs $@
+
.c.o:
$(COMPILE) -c $<
@@ -125,7 +130,12 @@ curl.exe: curl.res $(curl_OBJECTS) $(curl_DEPENDENCIES)
$(RC) $(RCFLAGS) $< -o $@
clean:
+ifeq "$(wildcard hugehelp.c.cvs)" "hugehelp.c.cvs"
+ -$(RM) hugehelp.c
+endif
-$(RM) $(curl_OBJECTS)
distrib: clean
-$(RM) $(curl_PROGRAMS)
+
+