OpenCores
URL https://opencores.org/ocsvn/qspiflash/qspiflash/trunk

Subversion Repositories qspiflash

[/] [qspiflash/] [trunk/] [bench/] [cpp/] [Makefile] - Diff between revs 12 and 13

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 12 Rev 13
Line 39... Line 39...
##
##
CXX     := g++
CXX     := g++
FLAGS   := -Wall -Og -g
FLAGS   := -Wall -Og -g
OBJDIR  := obj-pc
OBJDIR  := obj-pc
RTLD    := ../../rtl
RTLD    := ../../rtl
INCS    := -I$(RTLD)/obj_dir/ -I$(RTLD) -I/usr/share/verilator/include
VERILATOR_ROOT   ?= $(shell bash -c 'verilator -V|grep VERILATOR_ROOT | head -1 | sed -e " s/^.*=\s*//"')
 
VROOT   := $(VERILATOR_ROOT)
 
INCS    := -I$(RTLD)/obj_dir/ -I$(RTLD) -I$(VROOT)/include
SOURCES := eqspiflashsim.cpp eqspiflash_tb.cpp
SOURCES := eqspiflashsim.cpp eqspiflash_tb.cpp
VOBJDR  := $(RTLD)/obj_dir
VOBJDR  := $(RTLD)/obj_dir
VLIB    := /usr/share/verilator/include/verilated.cpp
VLIB    := $(VROOT)/include/verilated.cpp
SIMSRCS := enetctrlsim.cpp eqspiflashsim.cpp
SIMSRCS := enetctrlsim.cpp eqspiflashsim.cpp
all:    $(OBJDIR)/ eqspiflash_tb pretest
all:    $(OBJDIR)/ eqspiflash_tb pretest
 
 
$(OBJDIR)/:
$(OBJDIR)/:
        @bash -c "if [ ! -e $(OBJDIR) ]; then mkdir -p $(OBJDIR); fi"
        @bash -c "if [ ! -e $(OBJDIR) ]; then mkdir -p $(OBJDIR); fi"

powered by: WebSVN 2.1.0

© copyright 1999-2020 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.