URL
https://opencores.org/ocsvn/zipcpu/zipcpu/trunk
[/] [zipcpu/] [trunk/] [Makefile] - Diff between revs 36 and 49
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 36 |
Rev 49 |
Line 43... |
Line 43... |
################################################################################
|
################################################################################
|
#
|
#
|
.PHONY: all
|
.PHONY: all
|
all: doc rtl sw bench
|
all: doc rtl sw bench
|
|
|
|
MAKE := `which make`
|
|
|
.PHONY: doc
|
.PHONY: doc
|
doc:
|
doc:
|
cd doc; make
|
@echo "Building docs"; cd doc; $(MAKE) --no-print-directory
|
|
|
.PHONY: rtl
|
.PHONY: rtl
|
rtl:
|
rtl:
|
cd rtl; make
|
@echo "Building rtl for Verilator"; cd rtl; $(MAKE) --no-print-directory
|
|
|
.PHONY: sw
|
.PHONY: sw
|
sw:
|
sw:
|
cd sw/zasm; make
|
@echo "Building sw/zasm"; cd sw/zasm; $(MAKE) --no-print-directory
|
|
|
.PHONY: bench
|
.PHONY: bench
|
bench: rtl
|
bench: rtl sw
|
cd bench/cpp; make
|
@echo "Building bench/cpp"; cd bench/cpp; $(MAKE) --no-print-directory
|
|
@echo "Building bench/asm"; cd bench/asm; $(MAKE) --no-print-directory
|
|
|
|
.PHONY: test
|
test: sw rtl
|
test: sw rtl
|
cd sw/zasm; make test
|
@echo "Building zasm test"; cd sw/zasm; $(MAKE) test --no-print-directory
|
cd bench/cpp; make test
|
@echo "Bench test"; cd bench/cpp; $(MAKE) test --no-print-directory
|
|
|
|
.PHONY: dhrystone
|
|
dhrystone: sw bench
|
|
@echo "Building Asm Dhrystone"; cd bench/asm; $(MAKE) zipdhry.z --no-print-directory
|
|
@echo "Running Dhrystone"; cd bench/cpp; $(MAKE) dhrystone --no-print-directory
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.