- Timestamp:
- Dec 10, 2008, 7:31:39 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/Makefile.Common
r85 r88 7 7 # 8 8 9 include $(MORPHEO_TOPLEVEL)/Makefile.tools 9 ifeq ($(origin MORPHEO_TOPLEVEL), undefined) 10 $(error "variable MORPHEO_TOPLEVEL is undefined"); 11 else 12 include $(MORPHEO_TOPLEVEL)/Makefile.tools 13 endif 14 ifeq ($(origin MORPHEO_TMP), undefined) 15 $(error "variable MORPHEO_TMP is undefined"); 16 endif 17 ifeq ($(origin MORPHEO_SCRIPT), undefined) 18 $(error "variable MORPHEO_SCRIPT is undefined"); 19 endif 20 ifeq ($(origin DIR_MORPHEO), undefined) 21 $(error "variable DIR_MORPHEO is undefined"); 22 endif 10 23 11 24 #-----[ Directory ]---------------------------------------- 25 DIR_TMP = $(MORPHEO_TMP) 12 26 DIR_INC = include 13 27 DIR_SRC = src 14 28 DIR_OBJ = obj 29 #DIR_LIB = $(DIR_TMP)/lib 15 30 DIR_SCRIPT = $(MORPHEO_SCRIPT) 16 31 … … 35 50 36 51 #-----[ Variable ]----------------------------------------- 37 38 ENTITY = `$(BASENAME) $$PWD` 52 ENTITY = $$($(BASENAME) $$PWD) 39 53 40 54 OBJECTS_COMMON = $(patsubst $(DIR_SRC)/%.cpp,$(DIR_OBJ)/%.o,$(wildcard $(DIR_SRC)/*.cpp)) … … 46 60 47 61 test_env : 48 ifeq ($(origin MORPHEO_TOPLEVEL), undefined)49 $(error "variable MORPHEO_TOPLEVEL is undefined");50 endif51 ifeq ($(origin MORPHEO_SCRIPT), undefined)52 $(error "variable MORPHEO_SCRIPT is undefined");53 endif54 ifeq ($(origin DIR_MORPHEO), undefined)55 $(error "variable DIR_MORPHEO is undefined");56 endif57 62 @$(ECHO) "-------------------| $(ENTITY)" 58 63 … … 77 82 $(DIR_INC)/*~; 78 83 84 common_clean_all : common_clean 85 79 86 common_help : 80 87 @\
Note: See TracChangeset
for help on using the changeset viewer.