1999-12-02 02:42:23 -05:00
|
|
|
## Compiler, linker, and lib stuff
|
|
|
|
## Makefile for use with watcom win95/winnt executable.
|
|
|
|
|
|
|
|
CC=bcc32
|
|
|
|
LINK=tlink32
|
|
|
|
|
|
|
|
LFLAGS=
|
|
|
|
CFLAGS=-DWINDOWS -DHAVE_CONFIG_H -I. -H -H=wget.csm -w-
|
|
|
|
|
|
|
|
## variables
|
|
|
|
OBJS=cmpt.obj connect.obj fnmatch.obj ftp.obj ftp-basic.obj \
|
|
|
|
ftp-ls.obj ftp-opie.obj getopt.obj headers.obj host.obj html.obj \
|
2001-11-19 10:13:38 -05:00
|
|
|
http.obj init.obj log.obj main.obj gnu-md5.obj netrc.obj rbuf.obj \
|
1999-12-02 02:42:23 -05:00
|
|
|
alloca.obj \
|
2001-11-19 10:13:38 -05:00
|
|
|
recur.obj res.obj retr.obj url.obj utils.obj version.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+
|
|
|
|
alloca.obj+
|
|
|
|
version.obj+
|
|
|
|
utils.obj+
|
|
|
|
url.obj+
|
|
|
|
retr.obj+
|
2001-11-19 10:13:38 -05:00
|
|
|
res.obj+
|
1999-12-02 02:42:23 -05:00
|
|
|
recur.obj+
|
|
|
|
rbuf.obj+
|
|
|
|
netrc.obj+
|
|
|
|
mswindows.obj+
|
2001-11-19 10:13:38 -05:00
|
|
|
gnu-md5.obj+
|
1999-12-02 02:42:23 -05:00
|
|
|
main.obj+
|
|
|
|
log.obj+
|
|
|
|
init.obj+
|
|
|
|
http.obj+
|
|
|
|
html.obj+
|
|
|
|
host.obj+
|
|
|
|
headers.obj+
|
|
|
|
getopt.obj+
|
|
|
|
ftp-opie.obj+
|
|
|
|
ftp-ls.obj+
|
|
|
|
ftp-basic.obj+
|
|
|
|
ftp.obj+
|
|
|
|
fnmatch.obj+
|
|
|
|
connect.obj+
|
|
|
|
cmpt.obj
|
|
|
|
$<,$*
|
|
|
|
$(LIBDIR)\import32.lib+
|
|
|
|
$(LIBDIR)\cw32.lib
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
o = .obj
|
|
|
|
|
|
|
|
!include "..\windows\wget.dep"
|