(20140720)

This commit is contained in:
2014-07-20 00:00:00 +02:00
parent 29548c6fe0
commit 0e624cec1c
89 changed files with 10848 additions and 203 deletions

View File

@@ -1,4 +1,4 @@
CC= python /c/Program\ Files/Emscripten/emscripten/1.7.8/emcc
CC= emcc
LAUNCHER= start
RM=rm -rf
@@ -7,9 +7,15 @@ CFLAGS= -s FULL_ES2=1 -s ASM_JS=1 -O1
#LDFLAGS= --embed-file data
LDFLAGS= --preload-file data
RESULT=game.html
BUILDDIR=build-emscripten
ifeq ($(target),release)
CFLAGS= -s FULL_ES2=1 -s ASM_JS=1 -O2 --llvm-lto 1
BUILDDIR=build-emscripten-release
endif
include Makefile.common