#	Polyview 2.00 for the Personal IRIS
#	National Center for Supercomputing Applications
#	University of Illinois at Urbana-Champaign
#
#	Makes the Polyview 2.00 demo file.  Assumes that  df.h, dfi.h,
#	libvg.a, libdf.a, and vg.h are in the local directory.

CFLAGS=-O0 -g


#  Make everything.
all: m demo.hdf ;

#  Demo file generator.
m: m.c libdf.a libvg.a vg.h
	cc $(CFLAGS) -o m m.c libdf.a libvg.a

#  Make the demo file.
demo.hdf: m
	@echo
	@echo Generating demo.hdf file:
	m

#  If any of the libraries or include files are missing, then inform the user.
df.h dfi.h libdf.a libvg.a m.c vg.h:
	@echo $@ is required, but missing from this directory.
	@echo
