Aarch64: Replace macro __x86_64__ with generic macro __LP64__
[platform/framework/web/wrt-plugins-common.git] / clean.sh
1 #!/bin/bash
2 # Copyright (c) 2012 Samsung Electronics Co., Ltd All Rights Reserved
3 #
4 #    Licensed under the Apache License, Version 2.0 (the "License");
5 #    you may not use this file except in compliance with the License.
6 #    You may obtain a copy of the License at
7 #
8 #        http://www.apache.org/licenses/LICENSE-2.0
9 #
10 #    Unless required by applicable law or agreed to in writing, software
11 #    distributed under the License is distributed on an "AS IS" BASIS,
12 #    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 #    See the License for the specific language governing permissions and
14 #    limitations under the License.
15 #
16
17 echo Performing clean
18
19 function clean {
20                 rm -rf CMakeCache.txt
21                 rm -rf CMakeFiles
22                 rm -rf cmake_install.cmake
23                 rm -rf Makefile
24                 rm -rf install_manifest.txt                     
25
26                 for i in `ls`; do
27                         if [ -d $i ]; then
28                                 cd $i;
29                                 clean;
30                                 cd ..
31                         fi
32                 done    
33         }
34
35         clean
36
37
38