Skip to content

Commit

Permalink
enable buildin LuaJIT profiler
Browse files Browse the repository at this point in the history
  • Loading branch information
chrox committed May 1, 2014
1 parent d2eda88 commit 362a1c5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile
@@ -1,7 +1,7 @@
include Makefile.defs

# main target
all: $(OUTPUT_DIR)/libs $(LUAJIT) $(OUTPUT_DIR)/sdcv \
all: $(OUTPUT_DIR)/libs $(LUAJIT) $(LUAJIT_JIT) $(OUTPUT_DIR)/sdcv \
libs $(OUTPUT_DIR)/spec $(OUTPUT_DIR)/common \
$(OUTPUT_DIR)/plugins $(LUASOCKET) $(LUASEC) \
$(EVERNOTE_LIB) $(LUASERIAL_LIB)
Expand Down Expand Up @@ -160,6 +160,8 @@ endif
# differently when installing
cp -fL $(LUA_DIR)/src/$(notdir $(LUAJIT)) $(LUAJIT)

$(LUAJIT_JIT): $(LUAJIT)
cp -rfL $(LUA_DIR)/src/jit $(OUTPUT_DIR)

# popen-noshell, fetched via SVN
$(POPEN_NOSHELL_LIB):
Expand Down
1 change: 1 addition & 0 deletions Makefile.defs
Expand Up @@ -138,6 +138,7 @@ CRENGINE_THIRDPARTY_LIBS=$(CRENGINE_DIR)/thirdparty/chmlib/libchmlib.a \

LUA_DIR=luajit-2.0
LUAJIT=$(OUTPUT_DIR)/luajit
LUAJIT_JIT=$(OUTPUT_DIR)/jit

POPEN_NOSHELL_DIR=popen-noshell
POPEN_NOSHELL_LIB=$(POPEN_NOSHELL_DIR)/libpopen_noshell.a
Expand Down

0 comments on commit 362a1c5

Please sign in to comment.