summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2009-05-25 01:35:52 +0000
committerPixel <pixel@nobis-crew.org>2009-05-25 01:35:52 +0000
commite0656f4abdc417e798e519894dde4a5bc3d8a096 (patch)
treeb47eee956c51a8a5da583b06d3b769aa88453868 /Makefile
parentcd79005b76be4ff35a27a003ccba6d4350d968a8 (diff)
Adding dist target.
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