summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Noble <nnoble@blizzard.com>2013-07-16 10:15:27 -0700
committerNicolas Noble <nnoble@blizzard.com>2013-07-16 10:15:27 -0700
commit66d11fde580c218a927aac8e88b4f4cd982710a7 (patch)
tree7549caac73f47035740e216c9274586f7757722a
parent8860ba11e6cb76586a32cb80cb443837a78e3a38 (diff)
Avoiding useless link phases.
m---------Balau0
-rw-r--r--Makefile6
2 files changed, 4 insertions, 2 deletions
diff --git a/Balau b/Balau
-Subproject 9dfd1d7a95988e0682d772010c3e13c6170e7d2
+Subproject d35f4eb97c77438af67466be97516aef76bee9f
diff --git a/Makefile b/Makefile
index 9253ccc..1206cb4 100644
--- a/Makefile
+++ b/Makefile
@@ -42,10 +42,12 @@ all: dep $(TARGET)
strip: $(TARGET)
$(STRIP) $(TARGET)
-Balau:
+Balau: Balau/libBalau.a
+
+Balau/libBalau.a:
$(MAKE) -C Balau
-$(TARGET): Balau $(ALL_OBJECTS)
+$(TARGET): Balau/libBalau.a $(ALL_OBJECTS)
$(LD) $(LDFLAGS) -o $@ $(ALL_OBJECTS) ./Balau/libBalau.a ./Balau/LuaJIT/src/libluajit.a $(LDLIBS)
dep: $(ALL_DEPS)