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

Subversion Repositories zipcpu

[/] [zipcpu/] [trunk/] [bench/] [cpp/] [Makefile] - Diff between revs 2 and 27

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

Rev 2 Rev 27
Line 41... Line 41...
ZASM    := ../../sw/zasm
ZASM    := ../../sw/zasm
INCS    := -I../../rtl/obj_dir/ -I/usr/share/verilator/include -I../../sw/zasm
INCS    := -I../../rtl/obj_dir/ -I/usr/share/verilator/include -I../../sw/zasm
SOURCES := zippy_tb.cpp memsim.cpp twoc.cpp $(ZASM)/zopcodes.cpp $(ZASM)/zparser.cpp
SOURCES := zippy_tb.cpp memsim.cpp twoc.cpp $(ZASM)/zopcodes.cpp $(ZASM)/zparser.cpp
RAWLIB  := /usr/share/verilator/include/verilated.cpp ../../rtl/obj_dir/Vzipsystem__ALL.a
RAWLIB  := /usr/share/verilator/include/verilated.cpp ../../rtl/obj_dir/Vzipsystem__ALL.a
LIBS    := $(RAWLIB) -lncurses
LIBS    := $(RAWLIB) -lncurses
 
TESTF   := ../../sw/zasm/z.out
 
 
zippy_tb: $(SOURCES) $(RAWLIB) $(ZASM)/zopcodes.h $(ZASM)/zparser.h
zippy_tb: $(SOURCES) $(RAWLIB) $(ZASM)/zopcodes.h $(ZASM)/zparser.h
        $(CXX) $(FLAGS) $(INCS) $(SOURCES) $(LIBS) -o $@
        $(CXX) $(FLAGS) $(INCS) $(SOURCES) $(LIBS) -o $@
 
 
 
itest: zippy_tb
 
        ./zippy_tb $(TESTF)
 
 
 
test: zippy_tb
 
        ./zippy_tb -a $(TESTF)

powered by: WebSVN 2.1.0

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