From 1e6f7a495318addcbb6bc5ae7465a2eb1d889acd Mon Sep 17 00:00:00 2001 From: Julian T Date: Mon, 15 Feb 2021 14:31:49 +0100 Subject: Add assignments for digital design --- sem6/dig/m2/Makefile | 30 ++---------------------------- 1 file changed, 2 insertions(+), 28 deletions(-) (limited to 'sem6/dig/m2/Makefile') diff --git a/sem6/dig/m2/Makefile b/sem6/dig/m2/Makefile index 2731d67..4f83294 100644 --- a/sem6/dig/m2/Makefile +++ b/sem6/dig/m2/Makefile @@ -1,30 +1,4 @@ -INPUTFILES=nor_gate - -all: $(INPUTFILES) - -.PHONY: all clean - -%.o: %.vhdl - ghdl -a $^ - -$(INPUTFILES): %: %.o - ghdl -e $@ - -test_%.vhdl: %.vhdl generate_test_file.py - ./generate_test_file.py $< $@ - -test_$(INPUTFILES): %: %.o - ghdl -e $@ - -run_%: % - ghdl -r $^ - -sim_%: test_% % - -./$< --vcd=out.vcd - -clean: - ghdl --clean - rm -f work*.cf - rm -f test_*.vhdl +INPUTFILES = nor_gate ex2 ex5 ex6 +include ../common.mk -- cgit v1.2.3