aboutsummaryrefslogtreecommitdiff
path: root/works/life/computer-organization-experiment/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'works/life/computer-organization-experiment/Makefile')
-rw-r--r--works/life/computer-organization-experiment/Makefile51
1 files changed, 0 insertions, 51 deletions
diff --git a/works/life/computer-organization-experiment/Makefile b/works/life/computer-organization-experiment/Makefile
deleted file mode 100644
index 0b4db7f..0000000
--- a/works/life/computer-organization-experiment/Makefile
+++ /dev/null
@@ -1,51 +0,0 @@
-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
-
-build:
- mkdir -p build
-
-build/adder_1.o: build adder_1.vhdl
- ghdl analyze --std=08 --workdir=build -fsynopsys adder_1.vhdl
-
-build/adder_8.o: build adder_8.vhdl
- ghdl analyze --std=08 --workdir=build -fsynopsys adder_8.vhdl
-
-build/adder_32.o: build adder_32.vhdl
- ghdl analyze --std=08 --workdir=build -fsynopsys adder_32.vhdl
-
-build/alu.o: build alu.vhdl
- ghdl analyze --std=08 --workdir=build -fsynopsys alu.vhdl
-
-build/counter_4.o: build counter_4.vhdl
- ghdl analyze --std=08 --workdir=build -fsynopsys counter_4.vhdl
-
-build/full_adder_1.o: build full_adder_1.vhdl
- ghdl analyze --std=08 --workdir=build -fsynopsys full_adder_1.vhdl
-
-build/multiplexer_1_2.o: build multiplexer_1_2.vhdl
- ghdl analyze --std=08 --workdir=build -fsynopsys multiplexer_1_2.vhdl
-
-build/multiplexer_8_2.o: build multiplexer_8_2.vhdl
- ghdl analyze --std=08 --workdir=build -fsynopsys multiplexer_8_2.vhdl
-
-build/multiplexer_32_2.o: build multiplexer_32_2.vhdl
- ghdl analyze --std=08 --workdir=build -fsynopsys multiplexer_32_2.vhdl
-
-build/shift_32.o: build shift_32.vhdl
- ghdl analyze --std=08 --workdir=build -fsynopsys shift_32.vhdl
-
-build/test_bench.o: build test_bench.vhdl build/counter_4.o build/full_adder_1.o build/multiplexer_1_2.o build/multiplexer_8_2.o build/multiplexer_32_2.o build/adder_1.o build/adder_8.o build/adder_32.o build/shift_32.o build/alu.o
- ghdl analyze --std=08 --workdir=build -fsynopsys test_bench.vhdl
-
-build/test_bench: build/test_bench.o
- ghdl elaborate --std=08 --workdir=build -fsynopsys -o build/test_bench test_bench
-
-.PHONY: all clean
-
-clean:
- rm -r build