Ignore:
Timestamp:
Dec 10, 2008, 7:31:39 PM (15 years ago)
Author:
rosiere
Message:

Almost complete design
with Test and test platform

Location:
trunk/Softwares/Min
Files:
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/Softwares/Min/Makefile

    r81 r88  
     1#
     2# $Id$
     3#
     4# [ Description ]
     5#
     6# Makefile
     7#
     8
    19# common definition
    2 DIRECTORY_SRC                   = ./src
    3 DIRECTORY_C                     = $(DIRECTORY_SRC)/c
    4 DIRECTORY_ASM                   = $(DIRECTORY_SRC)/asm
    5 DIRECTORY_SYS                   = $(DIRECTORY_SRC)/sys
    6 DIRECTORY_INCLUDE               = $(DIRECTORY_C)/include
    7 DIRECTORY_LDSCRIPT              = $(DIRECTORY_SRC)/ldscript/
     10DIR_SRC                         = ./src
     11DIR_C                           = $(DIR_SRC)/c
     12DIR_ASM                         = $(DIR_SRC)/asm
     13DIR_SYS                         = $(DIR_SRC)/sys
     14DIR_INC                         = $(DIR_C)/include
     15DIR_LDSCRIPT                    = ../Global/ldscript/
    816
    9 INCLUDE                         = -I$(DIRECTORY_INCLUDE)
     17INCLUDE                         = -I$(DIR_INC)
    1018LIBRARY                         =
    1119
    1220#-----[ Files ]-------------------------------------------------------------------
    13 OBJECTS_ASM                     = $(patsubst $(DIRECTORY_ASM)/%.s,$(DIRECTORY_OBJ)/%.o,$(wildcard $(DIRECTORY_ASM)/*.s))
    14 OBJECTS_SYS                     = $(patsubst $(DIRECTORY_SYS)/%.s,$(DIRECTORY_OBJ)/%.o,$(wildcard $(DIRECTORY_SYS)/*.s))
    15 OBJECTS_C                       = $(patsubst $(DIRECTORY_C)/%.c,$(DIRECTORY_OBJ)/%.o,$(wildcard $(DIRECTORY_C)/*.c))
     21OBJECTS                         =       $(patsubst $(DIR_ASM)/%.s,$(DIR_OBJ)/%.o,$(wildcard $(DIR_ASM)/*.s))    \
     22                                        $(patsubst $(DIR_SYS)/%.s,$(DIR_OBJ)/%.o,$(wildcard $(DIR_SYS)/*.s))    \
     23                                        $(patsubst $(DIR_C)/%.c,$(DIR_OBJ)/%.o,$(wildcard $(DIR_C)/*.c))
    1624
    1725include                         ../Makefile.Software
Note: See TracChangeset for help on using the changeset viewer.