# 
# Makefile to produce ql files from the pl files
#	- made for Sicstus, may work on others.
#

PROLOG =sicstus


SOURCES= \
	arrays.pl\
	cell.pl\
	ddll.pl\
	ddln.pl\
	dll.pl\
	synread.pl



COMPILED =\
	arrays.ql\
	cell.ql\
	ddll.ql\
	ddln.ql\
	dll.ql\
	synread.ql

all: $(SOURCES) $(COMPILED)
	@echo "Compiled all predicates"
	

%.ql: %.pl
	@echo "compiling $*"
	@echo "fcompile($*)."|$(PROLOG)


makefile:
	@echo "remaking makefile"
	@exec sh Remake *.pl


