source: scripts/build_emscripten @ 7debeb6

feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/timestretchfix/ffmpeg5
Last change on this file since 7debeb6 was 0897260, checked in by Paul Brossier <piem@piem.org>, 7 years ago

scripts/build_emscripten: clean up

  • Property mode set to 100755
File size: 315 bytes
Line 
1#! /bin/bash
2
3function checkprog() {
4  type $1 >/dev/null 2>&1 || { echo >&2 "$1 required but not found, aborting."; exit 1; }
5}
6
7checkprog emcc
8checkprog emconfigure
9checkprog emmake
10
11# clean
12./waf distclean
13
14# configure
15emconfigure ./waf configure --with-target-platform emscripten $*
16
17# build
18emmake ./waf build
Note: See TracBrowser for help on using the repository browser.