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

Subversion Repositories tv80

[/] [tv80/] [trunk/] [sc_env/] [Makefile] - Diff between revs 97 and 115

Show entire file | Details | Blame | View Log

Rev 97 Rev 115
Line 1... Line 1...
SYSTEMC=/opt/systemc
SYSTEMC=/opt/systemc
VERILATOR_ROOT = /opt/verilator/share/verilator
VERILATOR_ROOT=/usr/share/verilator
VERIDIR=../obj_dir
VERIDIR=../obj_dir
INCLUDES=-I$(SYSTEMC)/include -I$(VERIDIR) -I$(VERILATOR_ROOT)/include -I$(SYSTEMPERL)
INCLUDES=-I$(SYSTEMC)/include -I$(VERIDIR) -I$(VERILATOR_ROOT)/include -I$(SYSTEMPERL)
LINKOPT=-L$(SYSTEMC)/lib-linux64 -lsystemc -lm
LINKOPT=-L$(SYSTEMC)/lib-linux -lsystemc -lm
DEFINES=-DDEBUG
DEFINES=-DDEBUG
OBJFILES=sc_env_top.o env_memory.o tv_responder.o z80_decoder.o di_mux.o \
OBJFILES=sc_env_top.o env_memory.o tv_responder.o z80_decoder.o di_mux.o \
$(VERIDIR)/Vtv80s.o $(VERIDIR)/Vtv80s__Syms.o \
$(VERIDIR)/Vtv80s.o $(VERIDIR)/Vtv80s__Syms.o \
$(VERIDIR)/Vtv80s__Trace.o \
$(VERIDIR)/Vtv80s__Trace.o \
$(VERIDIR)/Vtv80s__Trace__Slow.o \
$(VERIDIR)/Vtv80s__Trace__Slow.o \
$(VERIDIR)/VT16450.o $(VERIDIR)/VT16450__Syms.o verilated.o Sp.o
$(VERIDIR)/VT16450.o $(VERIDIR)/VT16450__Syms.o verilated.o verilated_vcd_c.o Sp.o
OPT_FAST=-O2
OPT_FAST=-O2
 
 
CXX=g++ -g $(OPT_FAST) $(INCLUDES) $(DEFINES)
CXX=g++ -g $(OPT_FAST) $(INCLUDES) $(DEFINES)
 
 
all: sc_env_top
all: sc_env_top
Line 22... Line 22...
        $(CXX) $^ -o $@ $(LINKOPT)
        $(CXX) $^ -o $@ $(LINKOPT)
 
 
verilated.o : $(VERILATOR_ROOT)/include/verilated.cpp
verilated.o : $(VERILATOR_ROOT)/include/verilated.cpp
        $(CXX) -c $^
        $(CXX) -c $^
 
 
 
verilated_vcd_sc.o : $(VERILATOR_ROOT)/include/verilated_vcd_sc.cpp
 
        $(CXX) -c $^
 
 
 
verilated_vcd_c.o : $(VERILATOR_ROOT)/include/verilated_vcd_c.cpp
 
        $(CXX) -c $^
 
 
$(VERIDIR)/Vtv80s.o:
$(VERIDIR)/Vtv80s.o:
        make OPT_FAST="$(OPT_FAST)" -f $(VERIDIR)/Vtv80s.mk -C $(VERIDIR) Vtv80s.o
        make OPT_FAST="$(OPT_FAST)" -f $(VERIDIR)/Vtv80s.mk -C $(VERIDIR) Vtv80s.o
        #(cd $(VERIDIR); make -f Vtv80s.mk Vtv80s.o)
        #(cd $(VERIDIR); make -f Vtv80s.mk Vtv80s.o)
 
 
$(VERIDIR)/Vtv80s__Syms.o:
$(VERIDIR)/Vtv80s__Syms.o:

powered by: WebSVN 2.1.0

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