Rev | Line | |
---|
[9] | 1 | # Makefile for urlget
|
---|
| 2 | #
|
---|
| 3 | # 07/02/96 Initial Release Michael Temari, <temari@ix.netcom.com>
|
---|
| 4 | #
|
---|
| 5 |
|
---|
| 6 | CFLAGS= -D_MINIX $(OPT)
|
---|
| 7 | LDFLAGS=-fnone
|
---|
| 8 | BINDIR= /usr/bin
|
---|
| 9 | PROG= urlget
|
---|
| 10 | LINK1= httpget
|
---|
| 11 | LINK2= ftpget
|
---|
| 12 | CC=exec cc
|
---|
| 13 |
|
---|
| 14 | OBJS= urlget.o net.o
|
---|
| 15 |
|
---|
| 16 | all: $(PROG)
|
---|
| 17 |
|
---|
| 18 | $(PROG): $(OBJS)
|
---|
| 19 | $(CC) $(LDFLAGS) -o $@ $(OBJS)
|
---|
| 20 | install -S 4kw $@
|
---|
| 21 |
|
---|
| 22 | clean:
|
---|
| 23 | rm -f $(PROG) $(OBJS)
|
---|
| 24 |
|
---|
| 25 | tar:
|
---|
| 26 | tar cvf urlget.tar Makefile urlget.c net.c net.h
|
---|
| 27 |
|
---|
| 28 | install: $(BINDIR)/$(PROG) $(BINDIR)/$(LINK1) $(BINDIR)/$(LINK2)
|
---|
| 29 |
|
---|
| 30 | $(BINDIR)/$(PROG): $(PROG)
|
---|
| 31 | install -c $? $@
|
---|
| 32 |
|
---|
| 33 | $(BINDIR)/$(LINK1) $(BINDIR)/$(LINK2): $(BINDIR)/$(PROG)
|
---|
| 34 | install -l $? $@
|
---|
| 35 |
|
---|
| 36 | $(OBJS): net.h
|
---|
Note:
See
TracBrowser
for help on using the repository browser.