Line | |
---|
1 | # Makefile for talk
|
---|
2 | #
|
---|
3 | # 08/01/96 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= talk
|
---|
10 | CC = exec cc
|
---|
11 |
|
---|
12 | OBJS= talk.o screen.o net.o proto.o
|
---|
13 |
|
---|
14 | all: $(PROG)
|
---|
15 |
|
---|
16 | $(PROG): $(OBJS)
|
---|
17 | $(CC) $(LDFLAGS) -o $@ $(OBJS) -lcurses
|
---|
18 | install -S 16kw $@
|
---|
19 |
|
---|
20 | clean:
|
---|
21 | rm -f $(PROG) $(OBJS)
|
---|
22 |
|
---|
23 | install: $(BINDIR)/$(PROG)
|
---|
24 |
|
---|
25 | $(BINDIR)/$(PROG): $(PROG)
|
---|
26 | install -cs -o bin $? $@
|
---|
27 |
|
---|
28 | talk.o: talk.c talk.h proto.h net.h screen.h
|
---|
29 | screen.o: screen.c screen.h
|
---|
30 | net.o: net.c talk.h net.h
|
---|
31 | proto.o: proto.c talk.h proto.h net.h screen.h
|
---|
Note:
See
TracBrowser
for help on using the repository browser.