FFLAGS	= -O
CFLAGS	= -O

INC	= mover.inc

OBJ	= mover.o getspace.o lineparse.o getgetput.o inventory.o domove.o

mover:	$(OBJ)
	f77 -o mover $(OBJ)

$(OBJ):	$(INC)

gendir:	gendir.o
	f77 -o gendir gendir.o

gendir.o:

genback: genback.o
	f77 -o genback genback.o

genback.o:

BOBJ	= backcheck.o tarparse.o dirparse.o unparse.o

backcheck: $(BOBJ)
	f77 -o backcheck $(BOBJ)

$(BOBJ): backcheck.inc

COBJ	= cdrom.o cdinven.o cdgenerate.o cdextract.o

cdrom:	$(COBJ)
	f77 -o cdrom $(COBJ)

$(COBJ): cdrom.inc
