======Makefile====== =====Make Arguments===== \index{Make} Whenever you are in a sub-directory of the software-radio, you can give some arguments to the //make// command. There are arguments that may be used everywhere in the tree, some that are only valid in the //Radios/*// subdirectories and some arguments that are only valid in the subdirectories that contain code. ====Common==== These arguments may be used anywhere in the tree (except the //Tools//-directory): \index{Make!clean}cleanRemove all object-files in all sub-trees \index{Make!whole} wholeRe-compile the whole tree \index{Make!base} baseRe-compile base only \index{Make!tools} toolsRe-compile tools only \index{Make!modules} modulesRe-compile modules only, additionally //mod_coding//, //mod_data//, //mod_general//, //mod_macro//, //mod_signal// re-compile only this special modules-directory \index{Make!show} showStarts the visualisation-tool \index{Make!server} serverStart the channel-server \index{Make!kill} killEnd all simulations as well as the channel-server \index{Make!cleanproc} cleanprocRemove all simulation-directories from ///tmp// \index{Make!rmall} rmallUnloads all real-time modules and stops RTLinux \index{Make!cvs_up} cvs_upUpdates the //whole// SRadio/*-tree using CVS \index{Make!cvs_commit} cvs_commitCommits //all// changes to the SRadio/*-tree ====Radios==== Arguments that can be used in the subdirectories of //Radios/// \index{Make!bsms}bsmsStarts channel-server and both BS and MS part. To stop, run //make kill// \index{Make!show_bsms} show_bsmsLike //bsms//, but also runs the visualisation-tool \index{Make!wait_bsms} wait_bsmsLike //bsms//, but stops the MS after 20 seconds and the BS after 30 seconds. Most useful to check whether a radio exits nicely, before trying it in real-time \index{Make!short_wait_bsms} short_wait_bsmsLike //wait_bsms// but for the impatient: BS waits for 10 seconds, MS for 5 seconds. Attention: things might not be correctly initialised after 5 seconds! \index{Make!mc} mcStarts channel-server and both Server and Client part. To stop, run //make kill// \index{Make!show_mc} show_mcLike //mc//, but also runs the visualisation-tool \index{Make!wait_mc} wait_mcLike //mc//, but stops the Client after 20 seconds and the Server after 30 seconds. Most useful to check whether a radio exits nicely, before trying it in real-time \index{Make!short_wait_mc} short_wait_mcLike //wait_mc// but for the impatient: Server waits for 10 seconds, Client for 5 seconds. Attention: things might not be correctly initialised after 5 seconds! ====Code==== Useful arguments when you are developing code \index{Make!user}userLoads the modules defined in the Makefile for simulation and unloads them \index{Make!user_show} user_showLike //user//, but also starts the visualisation-tool \index{Make!user_wait} user_waitLike //user//, but doesn't unload the modules \index{Make!user_wait_5} user_wait_5Like //user//, but waits for 5 seconds before unloading \index{Make!user_wait_10} user_wait_10waits for 10 seconds before unloading \index{Make!user_wait_20} user_wait_20waits for 20 seconds before unloading \index{Make!user_wait_30} user_wait_30waits for 30 seconds before unloading \index{Make!user_wait_60} user_wait_60waits for 60 seconds before unloading \index{Make!ddd} dddStart the graphical debugger in simulation-mode \index{Make!debug} debugStart gdb in simulation-mode \index{Make!rf} rfStarts the radio in real-time mode \index{Make!rf_tail} rf_tailLike //rf// but also tails ///var/log/messages// where //PR_DBGs// will be written to \index{Make!rf_show} rf_showLike //rf_tail// but launches the visualisation-tool \index{Make!rmall} rmallUnloads all modules from real-time mode