-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.sh
More file actions
26 lines (20 loc) · 873 Bytes
/
build.sh
File metadata and controls
26 lines (20 loc) · 873 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
#!/bin/sh
set -ex
export CC=gcc-4.9
export CXX=g++-4.9
# Build latest 3dsxtool
git clone https://github.com/devkitPro/3dstools.git
cd 3dstools && ./autogen.sh && ./configure && make -j4 && cd -
# Build latest bannertool
git clone https://github.com/Steveice10/bannertool.git --recursive
cd bannertool && make -j4 && cd -
# Get Boost static libs
# Had to rebuild them using later GCC version. It breaks otherwise.
wget https://github.com/cpp3ds/3ds-tools/releases/download/Boost/boost-libs.tar.xz
tar xaf boost-libs.tar.xz
# Build nihstro
git clone https://github.com/neobrain/nihstro.git
cd nihstro && cmake -DBoost_USE_STATIC_LIBS=ON -DBOOST_LIBRARYDIR=$TRAVIS_BUILD_DIR/boost-libs . && make -j4 nihstro-assemble && make -j4 nihstro-disassemble && cd -
# Build makerom
git clone https://github.com/profi200/Project_CTR.git
cd Project_CTR/makerom && make -j4 && cd -