aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/examples/makefile.dj95
1 files changed, 64 insertions, 31 deletions
diff --git a/docs/examples/makefile.dj b/docs/examples/makefile.dj
index 6b3cb9d39..642a5b090 100644
--- a/docs/examples/makefile.dj
+++ b/docs/examples/makefile.dj
@@ -1,31 +1,64 @@
-#
-# 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)
-
+#
+# 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)
+