include $(NOODLYBOX_HOME)/etc/makerule

all : samplefpga.ise s

clean : 
	-rm -f s

s :
	echo 'source ../../tcl/s.tcl' > $@

makefile : ../ise_makefile
	cd .. && $(MAKE) $(notdir $(PWD))/$@

package-vhdl :
	cd .. && $(MAKE) package-vhdl

samplefpga.ise : $(PACKAGE_VHDL) ../rtl/MAINDCM.$(HDLEXT)
	xtclsh ../create_project.tcl ise $(HDL)
