blob: f147b286df22ca79857630b590c1e4b563ba4bd5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#!/bin/bash
set -e
srcs=$(ls src/*.cc | grep -v test)
echo "Building stage 1..."
g++ -o ninja.bootstrap $srcs
echo "Building final result..."
./ninja.bootstrap ninja
rm ninja.bootstrap
echo "Done!"
|