source: trunk/Softwares/MiBench/Makefile @ 146

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

Various modif (add test, and vhdl)

  • Property svn:keywords set to Id
File size: 983 bytes
RevLine 
[117]1#
2# $Id: Makefile 137 2010-02-16 12:35:48Z rosiere $
3#
4# [ Description ]
5#
6# Makefile
7#
8
[124]9include                         Makefile.defs
[117]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
[137]19DIR_LDSCRIPT                    = $($(OS)_DIR_LDSCRIPT)
[117]20
[137]21INCDIR                          = $($(OS)_INCDIR) -I$(DIR_INC)
22LIBDIR                          = $($(OS)_LIBDIR)
23LIBNAME                         = $($(OS)_LIBNAME)
[117]24
25MIBENCH_DATA_PATH               = $(MORPHEO_TOPLEVEL)/Softwares/MiBench/data
26
[129]27FLAGS                           = -DMIBENCH_DATA_PATH=\"$(MIBENCH_DATA_PATH)\" -DNB_THREAD_MAX=$(NB_THREAD_MAX) $(BENCHS_TYPE)
[117]28
29#-----[ Files ]-------------------------------------------------------------------
[137]30OBJECTS                         =       $($(OS)_OBJECTS) \
[117]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
[124]36include                         $(DIR_SOFT)/Makefile.Workload
[117]37
Note: See TracBrowser for help on using the repository browser.