#	rjestat 1.2 of 10/1/81
#	@(#)rjestat(makefile)	1.2

INCLUDE = /usr/include

CC = cc
CCFLAGS = -O

LD = -ld
# LDFLAGS = -x

.c.o:
	$(CC) -c $(CCFLAGS) $<
	$(LD) -r $(LDFLAGS) $*.o
	mv a.out $*.o

.s.o:
	as -o $*.o $<

#------
# send:		Create send in local directory.
#------
rjestat:		rjestat0.o rjestat1.o rjestat2.o rjestat3.o \
		rjestat4.o rjestat5.o rjestat6.o rjestat7.o 
	$(CC) -O -n -o rjestat rjestat0.o rjestat1.o rjestat2.o rjestat3.o \
		rjestat4.o rjestat5.o rjestat6.o rjestat7.o

install:	rjestat
	cp rjestat /usr/bin/rjestat
	donate bin:4711 /usr/bin/rjestat

#------
# clean: Remove all .o files.
#------
clean:
	-rm -f rjestat0.o rjestat1.o rjestat2.o rjestat3.o \
		rjestat4.o rjestat5.o rjestat6.o rjestat7.o

clobber:	clean

#------
# Dependencies for individual .o files.
#------
