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

Almost complete design
with Test and test platform

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Makefile.Common

    r85 r88  
    77#
    88
    9 include                         $(MORPHEO_TOPLEVEL)/Makefile.tools
     9ifeq ($(origin MORPHEO_TOPLEVEL), undefined)
     10        $(error "variable MORPHEO_TOPLEVEL is undefined");
     11else
     12        include                         $(MORPHEO_TOPLEVEL)/Makefile.tools
     13endif
     14ifeq ($(origin MORPHEO_TMP), undefined)
     15        $(error "variable MORPHEO_TMP      is undefined");
     16endif
     17ifeq ($(origin MORPHEO_SCRIPT), undefined)
     18        $(error "variable MORPHEO_SCRIPT   is undefined");
     19endif
     20ifeq ($(origin DIR_MORPHEO), undefined)
     21        $(error "variable DIR_MORPHEO      is undefined");
     22endif
    1023
    1124#-----[ Directory ]----------------------------------------
     25DIR_TMP                         = $(MORPHEO_TMP)
    1226DIR_INC                         = include
    1327DIR_SRC                         = src
    1428DIR_OBJ                         = obj
     29#DIR_LIB                                = $(DIR_TMP)/lib
    1530DIR_SCRIPT                      = $(MORPHEO_SCRIPT)
    1631
     
    3550
    3651#-----[ Variable ]-----------------------------------------
    37 
    38 ENTITY                          = `$(BASENAME) $$PWD`
     52ENTITY                          = $$($(BASENAME) $$PWD)
    3953
    4054OBJECTS_COMMON                  = $(patsubst $(DIR_SRC)/%.cpp,$(DIR_OBJ)/%.o,$(wildcard $(DIR_SRC)/*.cpp))
     
    4660
    4761test_env                        :
    48 ifeq ($(origin MORPHEO_TOPLEVEL), undefined)
    49                                 $(error "variable MORPHEO_TOPLEVEL is undefined");
    50 endif
    51 ifeq ($(origin MORPHEO_SCRIPT), undefined)
    52                                 $(error "variable MORPHEO_SCRIPT   is undefined");
    53 endif
    54 ifeq ($(origin DIR_MORPHEO), undefined)
    55                                 $(error "variable DIR_MORPHEO      is undefined");
    56 endif
    5762                                @$(ECHO) "-------------------| $(ENTITY)"
    5863
     
    7782                                        $(DIR_INC)/*~;
    7883
     84common_clean_all                : common_clean
     85
    7986common_help                     :
    8087                                @\
Note: See TracChangeset for help on using the changeset viewer.