Last change
on this file since 137 was
137,
checked in by rosiere, 15 years ago
|
Various modif (add test, and vhdl)
|
-
Property svn:keywords set to
Id
|
File size:
825 bytes
|
Rev | Line | |
---|
[112] | 1 | # |
---|
| 2 | # $Id: Makefile 137 2010-02-16 12:35:48Z rosiere $ |
---|
| 3 | # |
---|
| 4 | # [ Description ] |
---|
| 5 | # |
---|
| 6 | # Makefile |
---|
| 7 | # |
---|
| 8 | |
---|
[130] | 9 | include Makefile.defs |
---|
[112] | 10 | |
---|
| 11 | # common definition |
---|
| 12 | DIR_SOFT = .. |
---|
| 13 | |
---|
| 14 | DIR_SRC = ./src |
---|
| 15 | DIR_C = $(DIR_SRC)/c |
---|
| 16 | DIR_ASM = $(DIR_SRC)/asm |
---|
| 17 | DIR_SYS = $(DIR_SRC)/sys |
---|
| 18 | DIR_INC = $(DIR_SRC)/include |
---|
[137] | 19 | DIR_LDSCRIPT = $($(OS)_DIR_LDSCRIPT) |
---|
[112] | 20 | |
---|
[137] | 21 | INCDIR = $($(OS)_INCDIR) -I$(DIR_INC) |
---|
| 22 | LIBDIR = $($(OS)_LIBDIR) |
---|
| 23 | LIBNAME = $($(OS)_LIBNAME) |
---|
[112] | 24 | |
---|
[130] | 25 | FLAGS = -DDHRYSTONE_NB_RUNS=$(DHRYSTONE_NB_RUNS) |
---|
| 26 | |
---|
[112] | 27 | #-----[ Files ]------------------------------------------------------------------- |
---|
[137] | 28 | OBJECTS = $($(OS)_OBJECTS) \ |
---|
[112] | 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 | |
---|
| 33 | include $(DIR_SOFT)/Makefile.Software |
---|
| 34 | |
---|
Note: See
TracBrowser
for help on using the repository browser.