From 66d11fde580c218a927aac8e88b4f4cd982710a7 Mon Sep 17 00:00:00 2001 From: Nicolas Noble Date: Tue, 16 Jul 2013 10:15:27 -0700 Subject: Avoiding useless link phases. --- Balau | 2 +- Makefile | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Balau b/Balau index 9dfd1d7..d35f4eb 160000 --- a/Balau +++ b/Balau @@ -1 +1 @@ -Subproject commit 9dfd1d7a95988e0682d772010c3e13c6170e7d26 +Subproject commit d35f4eb97c77438af67466be97516aef76bee9f0 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) -- cgit v1.2.3