URL
https://opencores.org/ocsvn/t400/t400/trunk
Subversion Repositories t400
[/] [t400/] [trunk/] [sw/] [verif/] [include/] [Makefile.core] - Rev 2
Go to most recent revision | Compare with Previous | Blame | View Log
SIM_DIR = $(PROJECT_DIR)/sim/rtl_sim
VERIF_DIR = $(PROJECT_DIR)/sw/verif
# determine allowed targets
TARGETS = $(wildcard t4*)
.PHONY: all
all: $(TARGETS)
.PHONY: t41x
t41x: $(SIM_DIR)/rom_41x.hex
.PHONY: t42x
t42x:
$(SIM_DIR)/rom_41x.hex: $(MODULE)_41x.p
p2hex $< $@
$(SIM_DIR)/rom_42x.hex: $(MODULE)_42x.p
p2hex $< $@
$(MODULE)_41x.p: $(MODULE).asm
asl -i $(VERIF_DIR)/include -cpu COP410 -L \
-o $(MODULE)_41x.p -olist $(MODULE)_41x.lst $<
$(MODULE)_42x.p: $(MODULE).asm
asl -i $(VERIF_DIR)/include -cpu COP420 -L \
-o $(MODULE)_42x.p -olist $(MODULE)_42x.lst $<
.PHONY: clean
clean:
rm -f *.p *~ *.lst
Go to most recent revision | Compare with Previous | Blame | View Log