blob: 6ab476db8e6d9c20d5a275ea977322cad57584c3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/usr/bin/make
TEMP = ../temp/verilog
all:
ifneq ($(shell which iverilog),)
@mkdir -p $(TEMP)
@echo "##### Checking resulting Verilog files with iverilog ###########"
@-cd $(TEMP); $(foreach VERILOG,$(wildcard *.v), echo "Checking: $(VERILOG)";\
iverilog -Wall -y . -t null $(VERILOG);)
endif
clean:
rm -fr $(TEMP)
|