aboutsummaryrefslogtreecommitdiff
path: root/computer-organization-experiment/Makefile
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-12-25 22:07:55 +0800
committercrupest <crupest@outlook.com>2021-12-25 22:07:55 +0800
commit6e7da5fb80154dd3c87ac3ff2191623660d83033 (patch)
tree831f7b7cf435bdaeb53ff14c46e82b7001d0fd97 /computer-organization-experiment/Makefile
parentf706f94b04f007d80e997ffa780d04cac609161b (diff)
downloadlife-6e7da5fb80154dd3c87ac3ff2191623660d83033.tar.gz
life-6e7da5fb80154dd3c87ac3ff2191623660d83033.tar.bz2
life-6e7da5fb80154dd3c87ac3ff2191623660d83033.zip
...
Diffstat (limited to 'computer-organization-experiment/Makefile')
-rw-r--r--computer-organization-experiment/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/computer-organization-experiment/Makefile b/computer-organization-experiment/Makefile
index fe68a53..0b4db7f 100644
--- a/computer-organization-experiment/Makefile
+++ b/computer-organization-experiment/Makefile
@@ -1,5 +1,8 @@
-build/cpu.o: build
- ghdl analyze --std=08 --workdir=build -fsynopsys cpu.vhdl
+build/cpu_test_bench: build/cpu.o
+ ghdl elaborate -g --std=08 --workdir=build -fsynopsys -o build/cpu_test_bench cpu_test_bench
+
+build/cpu.o: build cpu.vhdl
+ ghdl analyze -g --std=08 --workdir=build -fsynopsys cpu.vhdl
all: build/test_bench