diff options
author | Nicolas Noble <nnoble@blizzard.com> | 2013-07-15 16:48:10 -0700 |
---|---|---|
committer | Nicolas Noble <nnoble@blizzard.com> | 2013-07-15 16:48:10 -0700 |
commit | d35f4eb97c77438af67466be97516aef76bee9f0 (patch) | |
tree | df9a9cb0586bd13fe3eca3dd8aa1669e53d204cb /Makefile | |
parent | 9dfd1d7a95988e0682d772010c3e13c6170e7d26 (diff) |
Avoiding useless link phases.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -128,14 +128,16 @@ strip: $(TESTS) lib: $(LIB) -LuaJIT: +LuaJIT: LuaJIT/src/libluajit.a + +LuaJIT/src/libluajit.a: ifeq ($(CROSSCOMPILE),true) $(MAKE) -C LuaJIT HOST_CC="gcc -m32" CROSS=$(LUAJIT_CROSS) TARGET_SYS=$(LUAJIT_TARGET) BUILDMODE=static else $(MAKE) -C LuaJIT CC="$(CC) $(ARCH_FLAGS)" BUILDMODE=static endif -libBalau.a: LuaJIT $(BALAU_OBJECTS) +libBalau.a: LuaJIT/src/libluajit.a $(BALAU_OBJECTS) ifeq ($(SYSTEM),Darwin) ifneq ($(CROSSCOMPILE),true) rm -f libBalau.a |