summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMichal Idziorek <m.i@gmx.at>2017-09-23 11:11:56 +0200
committerMichal Idziorek <m.i@gmx.at>2017-09-23 11:11:56 +0200
commitd23b5c21e100c075bf9b806cec45f0ad0f48301d (patch)
tree1655df6992fbd27b5ebc5f055cc9f6882cc6ebe4 /Makefile
parent8ea31cecb5d03158f0b8a8778848962b6f522095 (diff)
working on sound
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 70672a9..a5714ec 100644
--- a/Makefile
+++ b/Makefile
@@ -10,8 +10,9 @@ clean:
rm -f game
rm -f *.o
rm -f *.bc
+ rm -f lunatic_out.*
browser-game:
emcc --std=c++11 -O2 World.cpp -o World.bc
emcc --std=c++11 -O2 main.cpp -o main.bc
- emcc -O2 World.bc main.bc -o out.html -s USE_SDL=2 --preload-file coin.bmp --preload-file earth01.bmp --preload-file fonts.bmp --preload-file gridder01.bmp --preload-file guy01.bmp --preload-file guy02.bmp --preload-file gridder02.bmp --preload-file gridder03.bmp -s TOTAL_MEMORY=536870912 --shell-file shell_minimal.html
+ emcc -O2 World.bc main.bc -o lunatic_out.html -s USE_SDL=2 --preload-file coin.wav --preload-file coin.bmp --preload-file earth01.bmp --preload-file fonts.bmp --preload-file gridder01.bmp --preload-file guy01.bmp --preload-file guy02.bmp --preload-file gridder02.bmp --preload-file gridder03.bmp -s TOTAL_MEMORY=536870912 --shell-file shell_minimal.html