File: makefile.dj

package info (click to toggle)
curl 7.15.5-1etch3
  • links: PTS
  • area: main
  • in suites: etch
  • size: 9,400 kB
  • ctags: 5,904
  • sloc: ansic: 47,247; sh: 9,209; perl: 3,486; makefile: 630; cpp: 178; awk: 40; lisp: 33
file content (34 lines) | stat: -rw-r--r-- 853 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#
#  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 anyauthput.exe \
            cookie_interface.exe

all: $(PROGRAMS)

%.exe: %.c
	$(CC) $(CFLAGS) -o $@ $^ $(LIBS)
	@echo

clean:
	rm -f $(PROGRAMS)