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

Subversion Repositories t48

[/] [t48/] [tags/] [rel_1_2/] [sim/] [rtl_sim/] [Makefile.ghdl] - Diff between revs 154 and 218

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

Rev 154 Rev 218
Line 3... Line 3...
# Tool-specific Makefile for the GHDL compiler.
# Tool-specific Makefile for the GHDL compiler.
#
#
# It sets all variables needed for VHDL code compilation with Makefile.hier.
# It sets all variables needed for VHDL code compilation with Makefile.hier.
#
#
#
#
# Copyright (c) 2004, Arnim Laeuger (arniml@opencores.org)
# Copyright (c) 2004-2006 Arnim Laeuger (arniml@opencores.org)
#
#
# All rights reserved
# All rights reserved
#
#
##############################################################################
##############################################################################
 
 
Line 24... Line 24...
CLEAN     = ghdl --clean --std=87 --workdir=$(LIB_WORK); \
CLEAN     = ghdl --clean --std=87 --workdir=$(LIB_WORK); \
            rm -f tb_*_c0 *.gcno *.gcda *.gcov UNUSED
            rm -f tb_*_c0 *.gcno *.gcda *.gcov UNUSED
 
 
ANALYZE   = ghdl -a --std=87 --workdir=$(LIB_WORK) $(GCOV)
ANALYZE   = ghdl -a --std=87 --workdir=$(LIB_WORK) $(GCOV)
 
 
ELABORATE = ghdl -e --std=87 --workdir=$(LIB_WORK) $(GCOV_LINK)
ELABORATE = ghdl -e -Wl,-s --std=87 --workdir=$(LIB_WORK) $(GCOV_LINK)
 
 
MAKE_LIB  = mkdir -p $(LIB_WORK)
MAKE_LIB  = mkdir -p $(LIB_WORK)
 
 
 
 
##############################################################################
##############################################################################
Line 125... Line 125...
 
 
##############################################################################
##############################################################################
# Tool-specific elaboration rules
# Tool-specific elaboration rules
#
#
$(tb_elab) : $(tb_behav_c0)
$(tb_elab) : $(tb_behav_c0)
        $(ELABORATE) tb_behav_c0; \
        $(ELABORATE) tb_behav_c0
        strip tb_behav_c0
 
 
 
$(tb_t8048_elab) : $(tb_t8048_behav_c0)
$(tb_t8048_elab) : $(tb_t8048_behav_c0)
        $(ELABORATE) tb_t8048_behav_c0; \
        $(ELABORATE) tb_t8048_behav_c0
        strip tb_t8048_behav_c0
 
 
 
$(tb_t8039_elab) : $(tb_t8039_behav_c0)
$(tb_t8039_elab) : $(tb_t8039_behav_c0)
        $(ELABORATE) tb_t8039_behav_c0; \
        $(ELABORATE) tb_t8039_behav_c0
        strip tb_t8039_behav_c0
 
 
 
.PHONY: elaborate
.PHONY: elaborate
elaborate: $(LIB_WORK) $(tb_elab) $(tb_t8048_elab) $(tb_t8039_elab)
elaborate: $(LIB_WORK) $(tb_elab) $(tb_t8048_elab) $(tb_t8039_elab)
#
#
##############################################################################
##############################################################################

powered by: WebSVN 2.1.0

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