Line | |
---|
1 | # Makefile for talkd
|
---|
2 | #
|
---|
3 | # 07/22/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= talkd
|
---|
10 | CC = exec cc
|
---|
11 |
|
---|
12 | OBJS= talkd.o net.o process.o finduser.o
|
---|
13 |
|
---|
14 | all: $(PROG)
|
---|
15 |
|
---|
16 | $(PROG): $(OBJS)
|
---|
17 | $(CC) $(LDFLAGS) -o $@ $(OBJS)
|
---|
18 | install -S 8kw $@
|
---|
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 | talkd.o: talkd.c talk.h talkd.h process.h net.h
|
---|
29 | net.o: net.c talk.h talkd.h net.h
|
---|
30 | process.o: process.c talk.h talkd.h finduser.h process.h
|
---|
31 | finduser.o: finduser.c talk.h finduser.h
|
---|
Note:
See
TracBrowser
for help on using the repository browser.