OpenCores
URL https://opencores.org/ocsvn/an-fpga-implementation-of-low-latency-noc-based-mpsoc/an-fpga-implementation-of-low-latency-noc-based-mpsoc/trunk

Subversion Repositories an-fpga-implementation-of-low-latency-noc-based-mpsoc

[/] [an-fpga-implementation-of-low-latency-noc-based-mpsoc/] [trunk/] [mpsoc/] [script/] [Makefile] - Blame information for rev 28

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 28 alirezamon
# -*- Makefile -*-
2
#*****************************************************************************
3
#
4
# DESCRIPTION: Verilator Example: Makefile for inside object directory
5
#
6
# This is executed in the object directory, and called by ../Makefile
7
#
8
# Copyright 2003-2014 by Wilson Snyder. This program is free software; you can
9
# redistribute it and/or modify it under the terms of either the GNU
10
# Lesser General Public License Version 3 or the Perl Artistic License
11
# Version 2.0.
12
#
13
#*****************************************************************************
14
 
15
default: sim
16
 
17 16 alirezamon
MUDULB = Vnoc
18
MUDULA = Vrouter
19
MUDULC = Vtraffic
20
 
21
 
22 28 alirezamon
include Vrouter.mk
23
 
24
lib:
25
        $(MAKE) -f $(MUDULA).mk
26
        $(MAKE) -f $(MUDULB).mk
27
        $(MAKE) -f $(MUDULC).mk
28
 
29
 
30
#######################################################################
31
# Compile flags
32
 
33
CPPFLAGS += -DVL_DEBUG=1
34
ifeq ($(CFG_WITH_CCWARN),yes)   # Local... Else don't burden users
35
CPPFLAGS += -DVL_THREADED=1
36
CPPFLAGS += -W -Werror -Wall
37
endif
38
 
39
#######################################################################
40
# Linking final exe -- presumes have a sim_main.cpp
41
 
42
 
43
sim:    testbench.o $(VK_GLOBAL_OBJS) $(MUDULB)__ALL.a $(MUDULA)__ALL.a $(MUDULC)__ALL.a
44
        $(LINK) $(LDFLAGS) -g $^ $(LOADLIBES) $(LDLIBS) -o testbench $(LIBS) -Wall -O3 2>&1 | c++filt
45
 
46
testbench.o: testbench.cpp $(MUDULA).h $(MUDULB).h $(MUDULC).h
47
 
48 16 alirezamon
clean:
49
        rm *.o *.a main
50 28 alirezamon
 
51
 

powered by: WebSVN 2.1.0

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