source: trunk/Softwares/MiBench/Makefile @ 137

Last change on this file since 137 was 137, checked in by rosiere, 14 years ago

Various modif (add test, and vhdl)

  • Property svn:keywords set to Id
File size: 983 bytes
Line 
1#
2# $Id: Makefile 137 2010-02-16 12:35:48Z rosiere $
3#
4# [ Description ]
5#
6# Makefile
7#
8
9include                         Makefile.defs
10
11# common definition
12DIR_SOFT                        = ..
13
14DIR_SRC                         = ./src
15DIR_C                           = $(DIR_SRC)/c
16DIR_ASM                         = $(DIR_SRC)/asm
17DIR_SYS                         = $(DIR_SRC)/sys
18DIR_INC                         = $(DIR_SRC)/include
19DIR_LDSCRIPT                    = $($(OS)_DIR_LDSCRIPT)
20
21INCDIR                          = $($(OS)_INCDIR) -I$(DIR_INC)
22LIBDIR                          = $($(OS)_LIBDIR)
23LIBNAME                         = $($(OS)_LIBNAME)
24
25MIBENCH_DATA_PATH               = $(MORPHEO_TOPLEVEL)/Softwares/MiBench/data
26
27FLAGS                           = -DMIBENCH_DATA_PATH=\"$(MIBENCH_DATA_PATH)\" -DNB_THREAD_MAX=$(NB_THREAD_MAX) $(BENCHS_TYPE)
28
29#-----[ Files ]-------------------------------------------------------------------
30OBJECTS                         =       $($(OS)_OBJECTS) \
31                                        $(patsubst $(DIR_ASM)/%.s,$(DIR_OBJ)/%.o,$(wildcard $(DIR_ASM)/*.s))    \
32                                        $(patsubst $(DIR_SYS)/%.s,$(DIR_OBJ)/%.o,$(wildcard $(DIR_SYS)/*.s))    \
33                                        $(patsubst $(DIR_C)/%.c,$(DIR_OBJ)/%.o,$(wildcard $(DIR_C)/*.c))
34
35include                         $(DIR_SOFT)/Makefile.Software
36include                         $(DIR_SOFT)/Makefile.Workload
37
Note: See TracBrowser for help on using the repository browser.