aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/examples/makefile.dj11
1 files changed, 3 insertions, 8 deletions
diff --git a/docs/examples/makefile.dj b/docs/examples/makefile.dj
index 853b6b4ed..6bf99d82f 100644
--- a/docs/examples/makefile.dj
+++ b/docs/examples/makefile.dj
@@ -22,14 +22,9 @@ endif
LIBS += $(WATT32_ROOT)/lib/libwatt.a $(ZLIB_ROOT)/libz.a
-CSOURCES = fopen.c ftpget.c ftpgetresp.c ftpupload.c getinmemory.c \
- http-post.c httpput.c https.c multi-app.c multi-double.c \
- multi-post.c multi-single.c persistant.c post-callback.c \
- postit2.c sepheaders.c simple.c simplepost.c simplessl.c \
- multi-debugcallback.c fileupload.c getinfo.c anyauthput.c \
- 10-at-a-time.c sendrecv.c cookie_interface.c # ftpuploadresume.c
-
-PROGRAMS = $(CSOURCES:.c=.exe)
+include Makefile.inc
+
+PROGRAMS = $(patsubst %,%.exe,$(check_PROGRAMS))
all: $(PROGRAMS)
@echo Welcome to libcurl example program