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

Subversion Repositories zipcpu

[/] [zipcpu/] [trunk/] [bench/] [cpp/] [Makefile] - Diff between revs 58 and 69

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

Rev 58 Rev 69
Line 10... Line 10...
#
#
#               This simulator depends upon the ncurses library.
#               This simulator depends upon the ncurses library.
#
#
#
#
# Creator:      Dan Gisselquist, Ph.D.
# Creator:      Dan Gisselquist, Ph.D.
#               Gisselquist Tecnology, LLC
#               Gisselquist Technology, LLC
#
#
################################################################################
################################################################################
#
#
# Copyright (C) 2015, Gisselquist Technology, LLC
# Copyright (C) 2015, Gisselquist Technology, LLC
#
#
Line 36... Line 36...
#
#
all: zippy_tb
all: zippy_tb
 
 
CXX     := g++
CXX     := g++
FLAGS   := -Wall -Og -g
FLAGS   := -Wall -Og -g
ZASM    := ../../sw/zasm
ZASM    := ../../sw/zasm/z2
RTLD    := ../../rtl
RTLD    := ../../rtl
INCS    := -I$(RTLD)/obj_dir/ -I$(RTLD) -I/usr/share/verilator/include -I../../sw/zasm
INCS    := -I$(RTLD)/obj_dir/ -I$(RTLD) -I/usr/share/verilator/include -I$(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
VLIB    := /usr/share/verilator/include/verilated.cpp
 
RAWLIB  := $(VLIB) $(RTLD)/obj_dir/Vzipsystem__ALL.a
LIBS    := $(RAWLIB) -lncurses
LIBS    := $(RAWLIB) -lncurses
TESTF   := ../../sw/zasm/z.out
TESTF   := $(ZASM)/z.out
DHRYSTONEF := ../asm/zipdhry.z
DHRYSTONEF := ../asm/zipdhry.z
 
 
zippy_tb: $(SOURCES) $(RAWLIB) $(ZASM)/zopcodes.h $(ZASM)/zparser.h testb.h
zippy_tb: $(SOURCES) $(RAWLIB) $(ZASM)/zopcodes.h $(ZASM)/zparser.h testb.h
zippy_tb: $(RTLD)/cpudefs.h
zippy_tb: $(RTLD)/cpudefs.h
        $(CXX) $(FLAGS) $(INCS) $(SOURCES) $(LIBS) -o $@
        $(CXX) $(FLAGS) $(INCS) $(SOURCES) $(LIBS) -o $@
 
 
 
div_tb: div_tb.cpp twoc.cpp $(VLIB) $(RTLD)/obj_dir/Vdiv__ALL.a testb.h
 
        $(CXX) $(FLAGS) $(INCS) div_tb.cpp twoc.cpp $(VLIB) $(RTLD)/obj_dir/Vdiv__ALL.a -o $@
 
 
pdump: pdump.cpp $(ZASM)/zopcodes.cpp $(ZASM)/zparser.cpp
pdump: pdump.cpp $(ZASM)/zopcodes.cpp $(ZASM)/zparser.cpp
pdump: $(ZASM)/zopcodes.h $(ZASM)/zparser.h testb.h twoc.cpp
pdump: $(ZASM)/zopcodes.h $(ZASM)/zparser.h testb.h twoc.cpp
        $(CXX) $(FLAGS) $(INCS) pdump.cpp $(ZASM)/zopcodes.cpp $(ZASM)/zparser.cpp twoc.cpp -o $@
        $(CXX) $(FLAGS) $(INCS) pdump.cpp $(ZASM)/zopcodes.cpp $(ZASM)/zparser.cpp twoc.cpp -o $@
 
 
.PHONY: stest
.PHONY: stest

powered by: WebSVN 2.1.0

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