# $Id: Makefile,v 1.2 90/07/11 13:08:16 mbp Exp Locker: mbp $

# makefile for Hypercad Mathematica packages

##########################################################################

# SEPARATEPATH = complete pathname of executable file 'separate'
SEPARATEPATH=$(PWD)/../bin/separate

##########################################################################

OBJS = Tessellations.m

SED_ARGS = \
  -e 's|SEPARATEPATH|$(SEPARATEPATH)|' \
  -e 's| \*TPLWARNING| * DO NOT EDIT THIS FILE DIRECTLY!  EDIT ONLY THE CORRESPONDING .tpl FILE.|' \
  -e '/^ \*TPL.*$$/d'

##########################################################################

all:	Tessellations.m

Tessellations.m:	rm-Tessellations.m Tessellations.m.tpl
	sed $(SED_ARGS) \
	  < Tessellations.m.tpl > Tessellations.m
	chmod -w Tessellations.m

rm-Tessellations.m:
	/bin/rm -f Tessellations.m ;

clean:
	/bin/rm -f *~ ;

veryclean:	clean

distclean:	veryclean
	/bin/rm -f $(OBJS) ;

# nothing to install:
install:	
