3 # 01/25/96 Initial Release Michael Temari
4 # 03/08/00 Michael Temari, <Michael@TemWare.Com>
5 # 02/07/05 v. 1.01 Michael Temari, <Michael@TemWare.Com>
7 CFLAGS
= -O
-D_MINIX
-D_POSIX_SOURCE
-m
11 MANPAGE
= /usr
/local
/man
/man1
13 OBJS
= ftp.o local.o file.o xfer.o other.o net.o crc.o
18 $(CC
) $(LDFLAGS
) -o
$@
$(OBJS
)
24 install: $(BINDIR
)/$(PROG
)
26 $(BINDIR
)/$(PROG
): $(PROG
)
27 install -cs
-o bin
$?
$@
29 installman
: $(MANPAGE
)
31 cp ftp
.1 /usr
/local
/man
/man1
32 makewhatis
/usr
/local
/man
35 $(CC
) -c
$(CFLAGS
) -DCRC_ONLY
$?
37 ftp.o
: ftp.c ftp.h local.h file.h other.h net.h
38 local.o
: local.c ftp.h local.h
39 file.o
: file.c ftp.h file.h net.h
40 other.o
: other.c ftp.h other.h
41 net.o
: net.c ftp.h xfer.h net.h
42 xfer.o
: xfer.c ftp.h xfer.h