]> granicus.if.org Git - curl/commitdiff
Use CSOURCES as other makefiles. Add line for dependency generation.
authorGisle Vanem <gvanem@broadpark.no>
Wed, 13 Sep 2006 13:51:03 +0000 (13:51 +0000)
committerGisle Vanem <gvanem@broadpark.no>
Wed, 13 Sep 2006 13:51:03 +0000 (13:51 +0000)
docs/examples/makefile.dj

index 8d19ef63e8c2d3db915d60422f12bfdf898d21ae..d0d4b67f0feea766e4c21ec10b6c25f47c519eae 100644 (file)
@@ -15,13 +15,13 @@ endif
 
 LIBS += $(WATT32_ROOT)/lib/libwatt.a $(ZLIB_ROOT)/libz.a
 
-PROGRAMS  = fopen.exe ftpget.exe ftpgetresp.exe ftpupload.exe \
-            getinmemory.exe http-post.exe httpput.exe multi-app.exe \
-            multi-double.exe multi-post.exe multi-single.exe \
-            persistant.exe post-callback.exe postit2.exe \
-            sepheaders.exe simple.exe simplessl.exe https.exe \
-            ftp3rdparty.exe getinfo.exe anyauthput.exe \
-            cookie_interface.exe
+CSOURCES = fopen.c ftpget.c ftpgetresp.c ftpupload.c getinmemory.c \
+           http-post.c httpput.c multi-app.c multi-double.c multi-post.c \
+           multi-single.c persistant.c post-callback.c postit2.c \
+           sepheaders.c simple.c simplessl.c https.c ftp3rdparty.c \
+           getinfo.c anyauthput.c cookie_interface.c 10-at-a-time.c
+
+PROGRAMS = $(CSOURCES:.c=.exe)
 
 all: $(PROGRAMS)
 
@@ -32,3 +32,5 @@ all: $(PROGRAMS)
 clean:
        rm -f $(PROGRAMS)
 
+# DO NOT DELETE THIS LINE
+