Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!linus!decvax!harpo!seismo!hao!hplabs!hpda!fortune!wdl1!jrb
From: jrb@wdl1.UUCP (John R Blaker)
Newsgroups: net.sources
Subject: RT-11 floppy -- rt11.mk
Message-ID: <150@wdl1.UUCP>
Date: Fri, 17-Feb-84 13:49:23 EST
Article-I.D.: wdl1.150
Posted: Fri Feb 17 13:49:23 1984
Date-Received: Sun, 19-Feb-84 03:01:43 EST
Lines: 55

# *==========================================================================*
# *			      == M A K E F I L E ==			     *
# *==========================================================================*
# * John R Blaker -- Ford Aerospace & Communications Corporation -- Oct 1982 *
# *==========================================================================*
# * This is the makefile for the rt11 utility which allows reading and       *
# * writing of RT11 format floppy discs					     *
# *==========================================================================*

# == Flags and definitions ==========

CFILES=	main.c\
	extract.c\
	write.c\
	create.c\
	radix50.c\
	listdir.c\
	misc.c\
	disc.c\
	direct.c

OBJS=	main.o\
	extract.o\
	write.o\
	create.o\
	radix50.o\
	listdir.o\
	misc.o\
	disc.o\
	direct.o

HFILES=	rt11.h

INSDIR=	/u/blaker/bin
MKFILE=	rt11.mk

# On a PWB System, CFLAGS= -O -DPWB and LFLAGS= -lS -o
CFLAGS=	-O
LFLAGS=	-o

# == Compilations dependencies ======

rt11: $(HFILES) $(OBJS)
	cc $(CFLAGS) $(OBJS) $(LFLAGS) rt11

# ==  Useful functions ==============

print: $(HFILES) $(CFILES)
	pr $(MKFILE) $(HFILES) $(CFILES)

install: rt11
	cp rt11 $(INSDIR)/rt11

cleanup: rt11
	rm -f $(HFILES) $(CFILES) $(OBJS)