summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 170127f..a086f02 100644
--- a/Makefile
+++ b/Makefile
@@ -13,7 +13,7 @@ LD = g++ -m32
endif
CC = gcc
CXX = g++
-STRIP = strip
+STRIP = strip --strip-unneeded
INCLUDES = \
-I../Baltisot/include \
@@ -65,6 +65,11 @@ ALL_DEPS = $(addsuffix .dep, $(notdir $(basename $(WHOLE_SOURCES))))
all: dep modules
+dist: modules
+ mkdir -p ../lua-interface-dist
+ $(STRIP) $(MODULES_LIST)
+ cp $(MODULES_LIST) ../lua-interface-dist
+
modules: $(MODULES_LIST)
dep: $(ALL_DEPS)
@@ -94,3 +99,5 @@ clean:
./luac -o $@ $<
-include $(ALL_DEPS)
+
+.PHONY: clean dist