%%% makefile which cleans all sourse directories from binary files and %%% restores the matlab path to the default robocup path (as specified in %%% addpathrobocup.m) cd /home/robocup/svn/trunk/src/Turtle2 disp('Resetting matlab path to robocup path provided in addpathrobocup.m'); warning('off','MATLAB:dispatcher:pathWarning') restoredefaultpath; warning('on','MATLAB:dispatcher:pathWarning') addpathrobocup; savepath; % close all active simulink models bdclose all; curdirrobocup = cd; try % cleanup ALL mex-files !find . -name "*.mexa64" -type f -delete % create log folder !mkdir /home/robocup/log -p % communication cd Communication make_clean disp('ipcomm & multicast communication binary files are removed'); cd(curdirrobocup) % Tools cd Tools make_clean cd(curdirrobocup) % Delete old logging cd ../../logging make_clean disp('Old logging files cleaned'); cd(curdirrobocup) % clean all source files cd Simulator make_clean cd(curdirrobocup) cd Vision make_clean cd(curdirrobocup) cd Motion make_clean cd(curdirrobocup) cd Strategy make_clean cd(curdirrobocup) cd WorldModel make_clean cd(curdirrobocup) cd GeneralRobocupFunctions make_general_robocup_functions clean cd(curdirrobocup) %% cleanup old stuff %% disp(' ') disp('Tech United RoboCup Software is cleaned from binary files...'); disp(' ') disp(' ') catch ME rethrow(ME) end