source: trunk/minix/commands/ftp/Makefile@ 9

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

Minix 3.1.2a

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