summaryrefslogtreecommitdiff
path: root/bootstrap.sh
blob: fd9b6059a1ca1fa4e8a8a03664aed1b0c71b4213 (plain)
1
2
3
4
5
6
#!/bin/sh
echo "Bootstrapping..."
g++ -std=c++17 -O3 -Isrc -pthread src/bootstrap.cc ctor.cc test/ctor.cc -o ctor && \
./ctor && \
g++ -std=c++17 -O3 -Isrc -pthread ctor.cc test/ctor.cc -Lbuild -lctor -o ctor && \
echo "Done. Now run ./ctor to (re)build."