forked from WohlSoft/Moondust-Project
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathclean_make.sh
More file actions
executable file
·41 lines (36 loc) · 771 Bytes
/
clean_make.sh
File metadata and controls
executable file
·41 lines (36 loc) · 771 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#/bin/bash
set bak = ~+
cd $PWD
wasRemoved=0
kfile()
{
if [ -f $1 ]; then
rm $1
echo "file $1 removed"
wasRemoved=1
fi
}
kfile Makefile
kfile ServerLib/ServerAPI/Makefile
kfile ServerLib/ServerAPI/Makefile*
kfile ServerLib/ServerAPP/Makefile
kfile ServerLib/ServerAPP/Makefile*
kfile _Libs/SDL2_mixer_modified/Makefile
kfile _Libs/SDL2_mixer_modified/Makefile*
kfile Editor/Makefile
kfile Editor/Makefile*
kfile Engine/Makefile
kfile Engine/Makefile*
kfile GIFs2PNG/Makefile
kfile GIFs2PNG/Makefile*
kfile LazyFixTool/Makefile
kfile LazyFixTool/Makefile*
kfile PNG2GIFs/Makefile
kfile PNG2GIFs/Makefile*
kfile PlayableCalibrator/Makefile
kfile PlayableCalibrator/Makefile*
if [ $wasRemoved -eq 0 ]; then
echo "Everything already clean!"
fi
cd $bak
read -n 1