- Timestamp:
- Aug 8, 2007, 9:16:10 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/Makefile.Selftest
r44 r48 30 30 31 31 all_selftest : test_env $(DIR_OBJ) $(DIR_BIN) $(DIR_LOG) 32 @$(MAKE) library 33 @$(MAKE) $(DIR_BIN)/$(EXEC).x 32 @\ 33 $(MAKE) library;\ 34 $(MAKE) $(DIR_BIN)/$(EXEC).x; 34 35 35 36 execute : all_selftest 36 @$(MAKE) $(EXEC_LOG) 37 @$(MAKE) $(EXEC_LOG); 37 38 38 39 reconfig : 39 @$(MAKE) config_clean 40 @$(MAKE) config 40 @\ 41 $(MAKE) config_clean;\ 42 $(MAKE) config; 41 43 42 44 config_clean : … … 44 46 45 47 config : $(DIR_CFG_GEN) 46 @ $(ECHO) "Generate configuration"47 @\48 @\ 49 $(ECHO) "Generate configuration";\ 48 50 declare -i CPT=0; \ 49 51 declare files; \ … … 111 113 112 114 $(DIR_LOG)/%.exec.log : $(DIR_CFG_GEN)/%.cfg $(DIR_BIN)/$(EXEC).x 113 @$(ECHO) "Execute : $*" 114 @$(EXPORT) SYSTEMC=$(SYSTEMC_$(SIMULATOR)) ; ./$(DIR_BIN)/$(EXEC).x $(EXEC_PARAMS) $* `$(CAT) $<` &> $@ 115 @\ 116 $(ECHO) "Execute : $*";\ 117 $(EXPORT) SYSTEMC=$(SYSTEMC_$(SIMULATOR)) ; ./$(DIR_BIN)/$(EXEC).x $(EXEC_PARAMS) $* `$(CAT) $<` &> $@ 115 118 declare -i count=`$(GREP) -ch "Test OK" $@`; \ 116 119 if $(TEST) $$count -ne 0; \ … … 120 123 121 124 $(DIR_BIN)/%.x : $(OBJECTS) $(HEADERS) $(DIR_LIB) 122 @$(ECHO) "Linkage : $*" 123 $(CXX) $(LFLAGS) -o $@ $(OBJECTS) $(LIBS) 125 @\ 126 $(ECHO) "Linkage : $*";\ 127 $(CXX) $(LFLAGS) -o $@ $(OBJECTS) $(LIBS); 124 128 125 129 $(DIR_BIN) : 126 @$(ECHO) "Create directory : $@" 127 @$(MKDIR) $@ 130 @\ 131 $(ECHO) "Create directory : $@";\ 132 $(MKDIR) $@; 128 133 129 134 $(DIR_LOG) : 130 @$(ECHO) "Create directory : $@" 131 @$(MKDIR) $@ 135 @\ 136 $(ECHO) "Create directory : $@";\ 137 $(MKDIR) $@; 132 138 133 139 $(DIR_CFG_GEN) : 134 @$(ECHO) "Create directory : $@" 135 @$(MKDIR) $@ 140 @\ 141 $(ECHO) "Create directory : $@";\ 142 $(MKDIR) $@; 136 143 137 144 selftest_clean_all : library_clean … … 144 151 *.stat \ 145 152 generated_by_systemcass \ 146 core* 153 core*; 147 154 148 155 selftest_help : 149 @$(ECHO) " -----[ Selftest ]-----------------------------------" 150 @$(ECHO) "" 151 @$(ECHO) " * all_selftest : compile all c++ file and execute" 152 @$(ECHO) " * execute : execute all instance" 153 @$(ECHO) " * config : generate configuration with configuration's file" 154 @$(ECHO) " * reconfig : regenerate configuration with configuration's file" 155 @$(ECHO) " * clean : Erase all generate files" 156 @$(ECHO) " * clean_all : Clean + Erase all dependant library" 157 @$(ECHO) " * help : print this text" 158 @$(ECHO) "" 156 @\ 157 $(ECHO) " -----[ Selftest ]-----------------------------------";\ 158 $(ECHO) "";\ 159 $(ECHO) " * all_selftest : compile all c++ file and execute";\ 160 $(ECHO) " * execute : execute all instance";\ 161 $(ECHO) " * config : generate configuration with configuration's file" ;\ 162 $(ECHO) " * reconfig : regenerate configuration with configuration's file" ;\ 163 $(ECHO) " * clean : Erase all generate files";\ 164 $(ECHO) " * clean_all : Clean + Erase all dependant library";\ 165 $(ECHO) " * help : print this text";\ 166 $(ECHO) ""; 159 167 160 168 help : 161 @$(MAKE) common_help 162 @$(MAKE) synthesis_help 163 @$(MAKE) selftest_help 169 @\ 170 $(MAKE) common_help ;\ 171 $(MAKE) synthesis_help;\ 172 $(MAKE) selftest_help; 164 173 165 174 clean : 166 @$(MAKE) common_clean 167 @$(MAKE) synthesis_clean 168 @$(MAKE) selftest_clean 175 @\ 176 $(MAKE) common_clean ;\ 177 $(MAKE) synthesis_clean ;\ 178 $(MAKE) selftest_clean; 169 179 170 180 clean_all : 171 @$(MAKE) clean 172 @$(MAKE) selftest_clean_all 181 @\ 182 $(MAKE) clean ;\ 183 $(MAKE) selftest_clean_all;
Note: See TracChangeset
for help on using the changeset viewer.