Rev | Line | |
---|
[9] | 1 | # Makefile for ftp
|
---|
| 2 | #
|
---|
| 3 | # 01/25/96 Initial Release Michael Temari, <temari@ix.netcom.com>
|
---|
| 4 | #
|
---|
| 5 |
|
---|
| 6 | CFLAGS= -O -D_MINIX -D_POSIX_SOURCE
|
---|
| 7 | LDFLAGS=-i
|
---|
| 8 | BINDIR=/usr/bin
|
---|
| 9 | PROG= ftp
|
---|
| 10 |
|
---|
| 11 | OBJS= ftp.o local.o file.o other.o net.o
|
---|
| 12 |
|
---|
| 13 | all: $(PROG)
|
---|
| 14 |
|
---|
| 15 | CC = exec cc
|
---|
| 16 |
|
---|
| 17 | $(PROG): $(OBJS)
|
---|
| 18 | $(CC) $(LDFLAGS) -o $@ $(OBJS)
|
---|
| 19 | install -S 8kw $@
|
---|
| 20 |
|
---|
| 21 | clean:
|
---|
| 22 | rm -f $(PROG) $(OBJS)
|
---|
| 23 |
|
---|
| 24 | install: $(BINDIR)/$(PROG)
|
---|
| 25 |
|
---|
| 26 | $(BINDIR)/$(PROG): $(PROG)
|
---|
| 27 | install -cs -o bin $? $@
|
---|
| 28 |
|
---|
| 29 | ftp.o: ftp.c ftp.h local.h file.h other.h net.h
|
---|
| 30 | local.o: local.c ftp.h local.h
|
---|
| 31 | file.o: file.c ftp.h file.h net.h
|
---|
| 32 | other.o: other.c ftp.h other.h
|
---|
| 33 | net.o: net.c ftp.h file.h net.h
|
---|
Note:
See
TracBrowser
for help on using the repository browser.