Permalink
Browse files

Updated Makefile to add a dependency on post.js.

Stubbed some more SDL functions in post.js.
  • Loading branch information...
1 parent 47f415e commit bdfd4dadd9716cf8ed0ec35b562b14e529c8782e @jvilk jvilk committed Sep 30, 2012
Showing with 4 additions and 1 deletion.
  1. +1 −1 makefile
  2. +3 −0 post.js
View
@@ -192,7 +192,7 @@ $(OBJ_DIR)/$(MESS_EXE).js: $(OBJ_DIR)/$(MESS_EXE)_unopt.js
--js_output_file $(OBJ_DIR)/$(MESS_EXE).js
# Runs emcc on LLVM bitcode version of MESS.
-$(OBJ_DIR)/$(MESS_EXE)_unopt.js: $(OBJ_DIR)/$(MESS_EXE).bc $(EMBED_FILES)
+$(OBJ_DIR)/$(MESS_EXE)_unopt.js: $(OBJ_DIR)/$(MESS_EXE).bc post.js $(EMBED_FILES)
$(EMCC) -s $(EMCC_FLAGS) $< -o $(OBJ_DIR)/$(MESS_EXE)_unopt.js \
--post-js post.js $(EMBED_FILES_FLAG)
View
@@ -32,3 +32,6 @@ function _SDL_LockTexture() {}
function _SDL_UnlockTexture() {}
function _SDL_RenderCopy() {}
function _SDL_RenderPresent() {}
+function _SDL_GL_LoadLibrary() {}
+function _SDL_GL_DeleteContext() {}
+function _SDL_GL_DestroyWindow() {}

0 comments on commit bdfd4da

Please sign in to comment.