URL
https://opencores.org/ocsvn/wbuart32/wbuart32/trunk
[/] [wbuart32/] [trunk/] [rtl/] [Makefile] - Diff between revs 15 and 18
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 15 |
Rev 18 |
Line 42... |
Line 42... |
all: test
|
all: test
|
YYMMDD=`date +%Y%m%d`
|
YYMMDD=`date +%Y%m%d`
|
CXX := g++
|
CXX := g++
|
FBDIR := .
|
FBDIR := .
|
VDIRFB:= $(FBDIR)/obj_dir
|
VDIRFB:= $(FBDIR)/obj_dir
|
|
VERILATOR := verilator
|
|
|
.PHONY: test
|
.PHONY: test
|
test: $(VDIRFB)/Vtxuart__ALL.a
|
test: $(VDIRFB)/Vtxuart__ALL.a
|
test: $(VDIRFB)/Vrxuart__ALL.a
|
test: $(VDIRFB)/Vrxuart__ALL.a
|
test: $(VDIRFB)/Vwbuart__ALL.a
|
test: $(VDIRFB)/Vwbuart__ALL.a
|
Line 71... |
Line 72... |
$(VDIRFB)/Vwbuart__ALL.a: $(VDIRFB)/Vwbuart.h $(VDIRFB)/Vwbuart.cpp
|
$(VDIRFB)/Vwbuart__ALL.a: $(VDIRFB)/Vwbuart.h $(VDIRFB)/Vwbuart.cpp
|
$(VDIRFB)/Vwbuart__ALL.a: $(VDIRFB)/Vwbuart.mk
|
$(VDIRFB)/Vwbuart__ALL.a: $(VDIRFB)/Vwbuart.mk
|
$(VDIRFB)/Vwbuart.h $(VDIRFB)/Vwbuart.cpp $(VDIRFB)/Vwbuart.mk: wbuart.v ufifo.v txuart.v rxuart.v
|
$(VDIRFB)/Vwbuart.h $(VDIRFB)/Vwbuart.cpp $(VDIRFB)/Vwbuart.mk: wbuart.v ufifo.v txuart.v rxuart.v
|
|
|
$(VDIRFB)/V%.cpp $(VDIRFB)/V%.h $(VDIRFB)/V%.mk: $(FBDIR)/%.v
|
$(VDIRFB)/V%.cpp $(VDIRFB)/V%.h $(VDIRFB)/V%.mk: $(FBDIR)/%.v
|
verilator -cc $*.v
|
$(VERILATOR) -Wall -cc $*.v
|
|
|
$(VDIRFB)/V%__ALL.a: $(VDIRFB)/V%.mk
|
$(VDIRFB)/V%__ALL.a: $(VDIRFB)/V%.mk
|
cd $(VDIRFB); make -f V$*.mk
|
cd $(VDIRFB); make -f V$*.mk
|
|
|
.PHONY: clean
|
.PHONY: clean
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.