source: trunk/minix/commands/urlget/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: 598 bytes
RevLine 
[9]1# Makefile for urlget
2#
3# 07/02/96 Initial Release Michael Temari, <temari@ix.netcom.com>
4#
5
6CFLAGS= -D_MINIX $(OPT)
7LDFLAGS=-fnone
8BINDIR= /usr/bin
9PROG= urlget
10LINK1= httpget
11LINK2= ftpget
12CC=exec cc
13
14OBJS= urlget.o net.o
15
16all: $(PROG)
17
18$(PROG): $(OBJS)
19 $(CC) $(LDFLAGS) -o $@ $(OBJS)
20 install -S 4kw $@
21
22clean:
23 rm -f $(PROG) $(OBJS)
24
25tar:
26 tar cvf urlget.tar Makefile urlget.c net.c net.h
27
28install: $(BINDIR)/$(PROG) $(BINDIR)/$(LINK1) $(BINDIR)/$(LINK2)
29
30$(BINDIR)/$(PROG): $(PROG)
31 install -c $? $@
32
33$(BINDIR)/$(LINK1) $(BINDIR)/$(LINK2): $(BINDIR)/$(PROG)
34 install -l $? $@
35
36$(OBJS): net.h
Note: See TracBrowser for help on using the repository browser.