Skip to content

Commit 1b64085

Browse files
make.sh/clean.sh: Misc updates
1 parent c7183ac commit 1b64085

2 files changed

Lines changed: 9 additions & 2 deletions

File tree

clean.sh

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
11
#!/bin/sh
2-
rm -rf build/
3-
mkdir build
2+
BUILD="build/"
3+
RELEASE="release/"
4+
if [ -d "$BUILD" ]; then
5+
rm -rf build/
6+
fi
7+
if [ -d "$RELEASE" ]; then
8+
rm -rf release/
9+
fi

make.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/bin/sh
22
./clean.sh
3+
mkdir build/
34
cd build/
45
cmake -DCMAKE_TOOLCHAIN_FILE=../DevkitArm3DS.cmake ../
56
cmake -DCMAKE_TOOLCHAIN_FILE=../DevkitArm3DS.cmake ../

0 commit comments

Comments
 (0)