1999-12-02 02:42:23 -05:00
|
|
|
## Compiler, linker, and lib stuff
|
2003-10-25 20:28:04 -04:00
|
|
|
## Makefile for use with Borland C++ for Win32 executable.
|
1999-12-02 02:42:23 -05:00
|
|
|
|
|
|
|
CC=bcc32
|
2002-03-19 13:20:01 -05:00
|
|
|
LINK=ilink32
|
1999-12-02 02:42:23 -05:00
|
|
|
|
|
|
|
LFLAGS=
|
2002-04-12 12:18:23 -04:00
|
|
|
CFLAGS=-DWINDOWS -DHAVE_CONFIG_H -I. -w- -O2
|
1999-12-02 02:42:23 -05:00
|
|
|
|
|
|
|
## variables
|
2003-10-25 20:28:04 -04:00
|
|
|
OBJS=cmpt.obj connect.obj convert.obj ftp.obj ftp-basic.obj \
|
2002-03-19 13:20:01 -05:00
|
|
|
ftp-ls.obj ftp-opie.obj getopt.obj headers.obj host.obj html-parse.obj html-url.obj \
|
2001-11-19 10:13:38 -05:00
|
|
|
http.obj init.obj log.obj main.obj gnu-md5.obj netrc.obj rbuf.obj \
|
2002-03-19 13:20:01 -05:00
|
|
|
safe-ctype.obj hash.obj progress.obj gen-md5.obj cookies.obj \
|
2003-10-31 09:31:56 -05:00
|
|
|
recur.obj res.obj retr.obj url.obj utils.obj version.obj xmalloc.obj \
|
|
|
|
mswindows.obj
|
1999-12-02 02:42:23 -05:00
|
|
|
|
|
|
|
LIBDIR=$(MAKEDIR)\..\lib
|
|
|
|
|
|
|
|
wget.exe: $(OBJS)
|
|
|
|
$(LINK) @&&|
|
|
|
|
$(LFLAGS) -Tpe -ap -c +
|
|
|
|
$(LIBDIR)\c0x32.obj+
|
2003-10-31 09:31:56 -05:00
|
|
|
cmpt.obj
|
|
|
|
connect.obj+
|
2003-10-25 20:28:04 -04:00
|
|
|
convert.obj+
|
2002-03-19 13:20:01 -05:00
|
|
|
cookies.obj+
|
2003-10-31 09:31:56 -05:00
|
|
|
ftp-basic.obj+
|
|
|
|
ftp-ls.obj+
|
|
|
|
ftp-opie.obj+
|
|
|
|
ftp.obj+
|
2001-12-04 05:33:18 -05:00
|
|
|
gen-md5.obj+
|
2003-10-31 09:31:56 -05:00
|
|
|
getopt.obj+
|
|
|
|
gnu-md5.obj+
|
|
|
|
hash.obj+
|
|
|
|
headers.obj+
|
|
|
|
host.obj+
|
2002-03-19 13:20:01 -05:00
|
|
|
html-parse.obj+
|
|
|
|
html-url.obj+
|
2003-10-31 09:31:56 -05:00
|
|
|
http.obj+
|
|
|
|
init.obj+
|
|
|
|
log.obj+
|
|
|
|
main.obj+
|
|
|
|
mswindows.obj+
|
|
|
|
netrc.obj+
|
|
|
|
progress.obj+
|
|
|
|
rbuf.obj+
|
|
|
|
recur.obj+
|
|
|
|
res.obj+
|
|
|
|
retr.obj+
|
|
|
|
safe-ctype.obj+
|
|
|
|
url.obj+
|
|
|
|
utils.obj+
|
|
|
|
version.obj+
|
|
|
|
xmalloc.obj+
|
1999-12-02 02:42:23 -05:00
|
|
|
$<,$*
|
|
|
|
$(LIBDIR)\import32.lib+
|
|
|
|
$(LIBDIR)\cw32.lib
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
o = .obj
|
|
|
|
|
|
|
|
!include "..\windows\wget.dep"
|