summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 1faffa7..6988d20 100644
--- a/Makefile
+++ b/Makefile
@@ -227,6 +227,10 @@ ALL_DEPS = $(addsuffix .dep, $(notdir $(basename $(WHOLE_SOURCES) $(DEBUG_SOURCE
all: dep luac lua-interface
+dist: luac lua-interface lua-interface-gl.$(SHARED_EXT)
+ mkdir -p ../lua-interface-dist
+ cp luac lua-interface lua-interface-*.$(SHARED_EXT) ../lua-interface-dist
+
dep: $(ALL_DEPS)
luac: $(LUAC_OBJECTS)
@@ -273,3 +277,5 @@ gl-glue.s:
src/generate-gl-glue.sh > gl-glue.s
-include $(ALL_DEPS)
+
+.PHONY: dist