aboutsummaryrefslogtreecommitdiff
path: root/docs/examples
diff options
context:
space:
mode:
authorGuenter Knauf <lists@gknw.net>2011-09-21 18:21:05 +0200
committerGuenter Knauf <lists@gknw.net>2011-09-21 18:21:05 +0200
commit62b0fdca9e556501ae2889075298c23994cecec3 (patch)
treed13aad69b6b06f8101fce8973c7be5539db832ec /docs/examples
parent3317160c1978e4ace9ff093ff50e678645854964 (diff)
Another MinGW example makefile tweak.
Diffstat (limited to 'docs/examples')
-rw-r--r--docs/examples/Makefile.m3210
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/examples/Makefile.m32 b/docs/examples/Makefile.m32
index 32bc8f479..909ec8cde 100644
--- a/docs/examples/Makefile.m32
+++ b/docs/examples/Makefile.m32
@@ -207,7 +207,7 @@ ifdef USE_LDAP_OPENLDAP
endif
ifndef USE_LDAP_NOVELL
ifndef USE_LDAP_OPENLDAP
-curl_LDADD += -lwldap32
+ curl_LDADD += -lwldap32
endif
endif
curl_LDADD += -lws2_32
@@ -215,10 +215,10 @@ curl_LDADD += -lws2_32
# Makefile.inc provides the check_PROGRAMS and COMPLICATED_EXAMPLES defines
include Makefile.inc
-example_PROGRAMS := $(patsubst %,%.exe,$(strip $(check_PROGRAMS)))
+check_PROGRAMS := $(patsubst %,%.exe,$(strip $(check_PROGRAMS)))
-all: $(example_PROGRAMS)
+all: $(check_PROGRAMS)
%.exe: %.o $(curl_DEPENDENCIES)
$(CC) $(LDFLAGS) -o $@ $< $(curl_LDADD)
@@ -230,8 +230,8 @@ all: $(example_PROGRAMS)
$(RC) $(RCFLAGS) $< -o $@
clean:
- $(RM) $(example_PROGRAMS:.exe=.o)
+ -$(RM) $(check_PROGRAMS:.exe=.o)
distclean vclean: clean
- -$(RM) $(example_PROGRAMS)
+ -$(RM) $(check_PROGRAMS)