source: trunk/Softwares/Dhrystone/Makefile @ 130

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

1) add MORPHEO_PREFIX

  • Property svn:keywords set to Id
File size: 822 bytes
Line 
1#
2# $Id: Makefile 130 2009-06-30 12:31:46Z 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                    = $(NEWLIB)/lib/
20
21INCDIR                          = $(NEWLIB_INCDIR) -I$(DIR_INC)
22LIBDIR                          = $(NEWLIB_LIBDIR)
23LIBNAME                         = $(NEWLIB_LIBNAME)
24
25FLAGS                           = -DDHRYSTONE_NB_RUNS=$(DHRYSTONE_NB_RUNS)
26
27#-----[ Files ]-------------------------------------------------------------------
28OBJECTS                         =       $(NEWLIB)/lib/*.o \
29                                        $(patsubst $(DIR_ASM)/%.s,$(DIR_OBJ)/%.o,$(wildcard $(DIR_ASM)/*.s))    \
30                                        $(patsubst $(DIR_SYS)/%.s,$(DIR_OBJ)/%.o,$(wildcard $(DIR_SYS)/*.s))    \
31                                        $(patsubst $(DIR_C)/%.c,$(DIR_OBJ)/%.o,$(wildcard $(DIR_C)/*.c))
32
33include                         $(DIR_SOFT)/Makefile.Software
34
Note: See TracBrowser for help on using the repository browser.