summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorNicolas Noble <pixel@nobis-crew.org>2009-11-05 11:55:26 -0800
committerNicolas Noble <pixel@nobis-crew.org>2009-11-05 11:55:26 -0800
commita0119380e242de8122d3ffd813c8eed61d2a27f1 (patch)
tree71f59169ed6f07a15b7f64de735f2ba7f067e984 /Makefile
parentd2003726de81dfb729b64195878f4aedcd305b84 (diff)
Adding CentOS mingw support, stripping and dist target support.
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