feature/crepe
Last change
on this file since d6fdff6 was
701999c,
checked in by K <kayo@illumium.org>, 5 years ago
|
Fixed shebangs in scripts
|
-
Property mode set to
100755
|
File size:
323 bytes
|
Line | |
---|
1 | #! /usr/bin/env bash |
---|
2 | |
---|
3 | function checkprog() { |
---|
4 | type $1 >/dev/null 2>&1 || { echo >&2 "$1 required but not found, aborting."; exit 1; } |
---|
5 | } |
---|
6 | |
---|
7 | checkprog emcc |
---|
8 | checkprog emconfigure |
---|
9 | checkprog emmake |
---|
10 | |
---|
11 | # clean |
---|
12 | ./waf distclean |
---|
13 | |
---|
14 | # configure |
---|
15 | emconfigure ./waf configure --with-target-platform emscripten $* |
---|
16 | |
---|
17 | # build |
---|
18 | emmake ./waf build |
---|
Note: See
TracBrowser
for help on using the repository browser.