TOP=../..
include $(TOP)/configure/CONFIG
#----------------------------------------
#  ADD MACRO DEFINITIONS AFTER THIS LINE

#----------------------------------------------------
#  Optimization of db files using dbst (DEFAULT: NO)
#DB_OPT = YES

#----------------------------------------------------
# Create and install (or just install)
# databases, templates, substitutions like this
DB += aiTest.db 
DB += estats.db

DB += padTST.gen102_template

#----------------------------------------------------
# If <anyname>.db template is not named <anyname>*.template add
# <anyname>_TEMPLATE = <templatename>


include $(TOP)/configure/RULES
#----------------------------------------
#  ADD RULES AFTER THIS LINE

%.padTST.gen102_template: ../%.padTST.gen102_substitutions ../padTST.gen102_template
	$(RM) $@
	../buildtemplate $< $@	
%.gen102_template: ../%.gen102_substitutions ../pad.gen102_template
	$(RM) $@
	../buildtemplate $< $@

%.gen_template: ../%.gen_substitutions ../pad.gen_template
	$(RM) $@
	../buildtemplate $< $@
		
clean::
	$(RM) $(patsubst %.substitutions,%.template,$(wildcard *.substitutions))


