-
Notifications
You must be signed in to change notification settings - Fork 57
/
Makefile
40 lines (32 loc) · 852 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
################################################################################
## Filename: Makefile
## Engineer: Wenting Zhang
##
## Project: VerilogBoy
## Description:
## Top level Makefile.
################################################################################
all: rtl sim tools roms
.PHONY: doc
doc:
cd doc; $(MAKE) --no-print-directory
.PHONY: rtl
rtl:
cd rtl; $(MAKE) --no-print-directory
.PHONY: roms
roms:
cd roms; $(MAKE) --no-print-directory
.PHONY: sim
sim: rtl
cd sim/verilator; $(MAKE) --no-print-directory
.PHONY: tools
tools:
cd tools; $(MAKE) --no-print-directory
.PHONY: vbh_mcu
vbh_mcu:
cd target/vbh/mcu/src; $(MAKE) --no-print-directory
.PHONY: clean
clean:
# cd doc; $(MAKE) --no-print-directory clean
cd rtl; $(MAKE) --no-print-directory clean
cd sim/verilator; $(MAKE) --no-print-directory clean