##
## Makefile for IDIV - F-CPU in vhdl/eu_idiv/
## 
## Made by cedric bail
## Login   <bail_c@epita.fr>
## 
## Started on  Fri Nov 30 11:10:33 2001 cedric bail
## Last update Fri Dec  7 12:37:35 2001 cedric bail
##

VHDLP	= vhdlp -strict
VHDLE	= vhdle
RM	= rm -f

all: 8bitsDiv

f-cpu_config:
	$(VHDLP) f-cpu_config

substraction:
	$(VHDLP) sub.vhdl

8bitsDiv: substraction
	$(VHDLP) 8bitsDiv.vhdl

idiv: divmods f-cpu_config
	$(VHDLP) idiv.vhdl

idiv_conf: idiv
	$(VHDLP) idiv_conf.vhdl

clean:
	$(RM) *~
	$(RM) -R work.sym

test: all
	$(VHDLE) divmods
	$(VHDLE) eu_idiv

testbench:
	$(VHDLP) divmodstest.vhdl
	$(VHDLE) IDivmods_Test
