source: trunk/minix/commands/talk/Makefile@ 20

Last change on this file since 20 was 9, checked in by Mattia Monga, 14 years ago

Minix 3.1.2a

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