]> granicus.if.org Git - curl/commitdiff
Pick-up programs from Makefile.inc.
authorGisle Vanem <gvanem@broadpark.no>
Sun, 17 Aug 2008 16:20:23 +0000 (16:20 +0000)
committerGisle Vanem <gvanem@broadpark.no>
Sun, 17 Aug 2008 16:20:23 +0000 (16:20 +0000)
docs/examples/makefile.dj

index 853b6b4ed3e26f6152c24aecfb46680e4ed881a6..6bf99d82f7ba862fb62097580260c174d6e938cf 100644 (file)
@@ -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