summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
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)