aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-06-30 12:34:33 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-06-30 12:34:33 +0000
commit574e91137569fda3d25fa86d19dec6c6b0580075 (patch)
tree07b36eeb46ea0479578cffa3a3081b66ccffe7bc
parentce945bd2f08f808ce76ba1a8b0026a3bcd9d45fb (diff)
Another Gisle update
-rw-r--r--docs/examples/makefile.dj97
1 files changed, 33 insertions, 64 deletions
diff --git a/docs/examples/makefile.dj b/docs/examples/makefile.dj
index 642a5b090..4200520be 100644
--- a/docs/examples/makefile.dj
+++ b/docs/examples/makefile.dj
@@ -1,64 +1,33 @@
-#
-# Adapted for djgpp / Watt-32 / DOS by
-# Gisle Vanem <giva@bgnett.no>
-#
-
-include ../../packages/DOS/common.dj
-
-CFLAGS += -I../../include
-
-LIBS = ../../lib/libcurl.a
-
-ifeq ($(USE_SSL),1)
- LIBS += $(OPENSSL_ROOT)/lib/libssl.a $(OPENSSL_ROOT)/lib/libcrypt.a
-endif
-
-LIBS += $(WATT32_ROOT)/lib/libwatt.a $(ZLIB_ROOT)/libz.a
-
-PROGRAMS = fopen.exe ftpget.exe ftpgetre.exe ftpuploa.exe getinmem.exe \
- http-pos.exe httpput.exe multi-ap.exe multi-do.exe \
- multi-po.exe multi-si.exe persista.exe post-cal.exe \
- postit2.exe sepheade.exe simple.exe simpless.exe
-
-all: $(PROGRAMS)
-
-.c.exe:
- $(CC) $(CFLAGS) -o $@ $^ $(LIBS)
- @echo
-
-clean:
- rm -f $(PROGRAMS)
-
-- 1,32 ----
-#
-# Adapted for djgpp / Watt-32 / DOS by
-# Gisle Vanem <giva@bgnett.no>
-#
-
-include ../../packages/DOS/common.dj
-
-CFLAGS += -I../../include
-
-LIBS = ../../lib/libcurl.a
-
-ifeq ($(USE_SSL),1)
- LIBS += $(OPENSSL_ROOT)/lib/libssl.a $(OPENSSL_ROOT)/lib/libcrypt.a
-endif
-
-LIBS += $(WATT32_ROOT)/lib/libwatt.a $(ZLIB_ROOT)/libz.a
-
-PROGRAMS = fopen.exe ftpget.exe ftpgetre.exe ftpuploa.exe getinmem.exe \
- http-pos.exe httpput.exe multi-ap.exe multi-do.exe \
- multi-po.exe multi-si.exe persista.exe post-cal.exe \
- postit2.exe sepheade.exe simple.exe simpless.exe https.exe \
- ftp3rdpa.exe getinfo.exe
-
-all: $(PROGRAMS)
-
-%.exe: %.c
- $(CC) $(CFLAGS) -o $@ $^ $(LIBS)
- @echo
-
-clean:
- rm -f $(PROGRAMS)
-
+#
+# Adapted for djgpp / Watt-32 / DOS by
+# Gisle Vanem <giva@bgnett.no>
+#
+
+include ../../packages/DOS/common.dj
+
+CFLAGS += -I../../include -DFALSE=0 -DTRUE=1
+
+LIBS = ../../lib/libcurl.a
+
+ifeq ($(USE_SSL),1)
+ LIBS += $(OPENSSL_ROOT)/lib/libssl.a $(OPENSSL_ROOT)/lib/libcrypt.a
+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
+
+all: $(PROGRAMS)
+
+%.exe: %.c
+ $(CC) $(CFLAGS) -o $@ $^ $(LIBS)
+ @echo
+
+clean:
+ rm -f $(PROGRAMS)
+