# # $Id: Makefile 100 2009-01-08 13:06:27Z rosiere $ # # [ Description ] # # Makefile # # common definition DIR_SRC = ./src DIR_C = $(DIR_SRC)/c DIR_ASM = $(DIR_SRC)/asm DIR_SYS = $(DIR_SRC)/sys DIR_INC = $(DIR_SRC)/include DIR_LDSCRIPT = ../Common/ldscript/ INCDIR = -I$(DIR_INC) -I$(DIR_COMMON_INC) $(NEWLIB_INCDIR) LIBDIR = $(NEWLIB_LIBDIR) LIBNAME = $(NEWLIB_LIBNAME) #-----[ Files ]------------------------------------------------------------------- OBJECTS = $(OBJECTS_COMMON) \ $(patsubst $(DIR_ASM)/%.s,$(DIR_OBJ)/%.o,$(wildcard $(DIR_ASM)/*.s)) \ $(patsubst $(DIR_SYS)/%.s,$(DIR_OBJ)/%.o,$(wildcard $(DIR_SYS)/*.s)) \ $(patsubst $(DIR_C)/%.c,$(DIR_OBJ)/%.o,$(wildcard $(DIR_C)/*.c)) include ../Makefile.Software