diff options
author | Nicolas Noble <pixel@nobis-crew.org> | 2009-11-05 11:55:26 -0800 |
---|---|---|
committer | Nicolas Noble <pixel@nobis-crew.org> | 2009-11-05 11:55:26 -0800 |
commit | a0119380e242de8122d3ffd813c8eed61d2a27f1 (patch) | |
tree | 71f59169ed6f07a15b7f64de735f2ba7f067e984 /Makefile | |
parent | d2003726de81dfb729b64195878f4aedcd305b84 (diff) |
Adding CentOS mingw support, stripping and dist target support.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -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 |