source: trunk/minix/commands/telnetd/Makefile@ 11

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

Minix 3.1.2a

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