# WARNING: DO NOT EDIT.
# THIS FILE WAS AUTOMATICALLY GENERATED USING THE
# BUILDMAKE PROGRAM.

# Buildfile for V "listdir" and "listdesc" programs.

C68FLAGS = -O -V
LIBS = 

# first, define the world of 68000s
.SUFFIXES: .r .dl .sym .b .68 .ls .a68 .c

# how to compile a 68000 file
.c.b:
	cc68 $(C68FLAGS) -c $*.c 

# how to make an assembly file (Not deleting it or assembling it)
.c.s:
	cc68 $(C68FLAGS) -S $*.c

# how to make an assembly listing
.c.ls:
	cc68 $(C68FLAGS) -c -L $*.c

#END of the world of 68000's

all: listdir listdesc

listdir :  listdir.b printdesc.b 
	cc68 $(C68FLAGS) -r -o listdir listdir.b printdesc.b $(LIBS) 

listdesc :  listdesc.b printdesc.b 
	cc68 $(C68FLAGS) -r -o listdesc listdesc.b printdesc.b $(LIBS) 

install: listdir listdesc
	netinstall -p "listdir listdesc" /usr/sun/Vboot

clean:
	rm -f *.CKP *.BAK *.b listdir listdesc

backup:
	cd ..; cpdir list ../../Vbackup/cmds/list

build: buildfile
	buildmake

xbuild: buildfile
	buildmake -DX=1

rcs: 
	ci listdir.c buildfile listdesc.c printdesc.c

listdir.c:	;co listdir.c
buildfile:	;co buildfile
listdesc.c:	;co listdesc.c
printdesc.c:	;co printdesc.c

