minix/commands/urlget/Makefile

37 lines
598 B
Makefile
Raw Normal View History

2005-04-21 16:53:53 +02:00
# Makefile for urlget
#
# 07/02/96 Initial Release Michael Temari, <temari@ix.netcom.com>
#
CFLAGS= -D_MINIX $(OPT)
LDFLAGS=-fnone
BINDIR= /usr/bin
PROG= urlget
LINK1= httpget
LINK2= ftpget
2005-09-07 10:43:25 +02:00
CC=exec cc
2005-04-21 16:53:53 +02:00
OBJS= urlget.o net.o
all: $(PROG)
$(PROG): $(OBJS)
$(CC) $(LDFLAGS) -o $@ $(OBJS)
install -S 4kw $@
clean:
rm -f $(PROG) $(OBJS)
tar:
tar cvf urlget.tar Makefile urlget.c net.c net.h
install: $(BINDIR)/$(PROG) $(BINDIR)/$(LINK1) $(BINDIR)/$(LINK2)
$(BINDIR)/$(PROG): $(PROG)
install -c $? $@
$(BINDIR)/$(LINK1) $(BINDIR)/$(LINK2): $(BINDIR)/$(PROG)
install -l $? $@
$(OBJS): net.h