include ../../Makefile.defs

# files that are not compiled are files for which it is not
# known in which module they will be loaded
#
# hence, files are compiled that
# A  define a seperate module
# B  are always loaded into user
# C  are always loaded into Module
#
# D special rules are also necc. for files that need
# special operator declarations.
#
# note that C and D case are handled in seperate dir's
# at the moment

QL= between.ql\
	call_tree.ql\
	command.ql\
	concat.ql\
	count_edges.ql\
	database.ql\
	decons.ql\
	env.ql\
	equi.ql\
	feature.ql\
	flags.ql\
	gen_sym.ql\
	lex_string.ql\
	link_clause.ql\
	prettyvars.ql\
	latex.ql\
	latex_term.ql\
	latex_tree.ql\
	p_tree.ql\
	restrict.ql\
   	term_expand.ql\
	tk_draw.ql\
	tk_graph.ql\
	tk_tree.ql\
	transitive.ql

all: $(QL) 
	( cd f ; make )

install:

# default
.SUFFIXES: .ql .pl
.pl.ql:
	-echo 'prolog_flag(compiling,_,$(PLFLAGS)), fcompile($*).' | protcl -f 

clean:
	rm $(RM_PATTERN)
	( cd f ; make clean )
