From a0119380e242de8122d3ffd813c8eed61d2a27f1 Mon Sep 17 00:00:00 2001 From: Nicolas Noble Date: Thu, 5 Nov 2009 11:55:26 -0800 Subject: Adding CentOS mingw support, stripping and dist target support. --- Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'Makefile') 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 -- cgit v1.2.3