From d5043133e63290e0abedc34ddd1889bbd4bb953e Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 21 May 2003 08:08:48 +0000 Subject: Gisle Vanem made curl build with djgpp on DOS. --- docs/examples/makefile.dj | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 docs/examples/makefile.dj (limited to 'docs/examples/makefile.dj') diff --git a/docs/examples/makefile.dj b/docs/examples/makefile.dj new file mode 100644 index 000000000..6b3cb9d39 --- /dev/null +++ b/docs/examples/makefile.dj @@ -0,0 +1,31 @@ +# +# Adapted for djgpp / Watt-32 / DOS by +# Gisle Vanem +# + +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) + -- cgit v1.2.3