summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2009-11-05 11:56:41 -0800
committerPixel <pixel@nobis-crew.org>2009-11-05 11:56:41 -0800
commit07819a10a89ee26f2f113ba0ec0bee7b03668680 (patch)
treecea17cc2c4a79feeed01dd8fde233214fe75fcd6 /Makefile
parent38f828fc3c4c3437a13c06024bc37354a993778a (diff)
Adding CentOS mingw support, stripping and dist target support.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f2cb29c..ae65bd9 100644
--- a/Makefile
+++ b/Makefile
@@ -37,7 +37,7 @@ LDFLAGS_GL = -lGLU -lGL
endif
CC = gcc
CXX = g++
-STRIP = strip
+STRIP = strip --strip-unneeded
INCLUDES = \
-I../mogltk/include \
@@ -236,6 +236,7 @@ all: dep luac lua-interface
dist: luac lua-interface lua-interface-gl.$(SHARED_EXT)
mkdir -p ../lua-interface-dist
ln -sf lua-interface-mesa.$(SHARED_EXT) lua-interface.$(SHARED_EXT)
+ $(STRIP) $+
cp luac lua-interface lua-interface*.$(SHARED_EXT) ../lua-interface-dist
dep: $(ALL_DEPS)