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