summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2009-11-05 18:54:30 -0800
committerPixel <pixel@nobis-crew.org>2009-11-05 18:54:30 -0800
commitd29a4a17c6912b3c3cae33461a00b38e30d0801c (patch)
tree5a076a7190b19ab95f4a3fa357e7a4d2b859af8e /Makefile
parent03dc6fdc539ba032ee904d11dfe042ff50d471f9 (diff)
parent07819a10a89ee26f2f113ba0ec0bee7b03668680 (diff)
Merge branch 'master' of ssh+git://git.grumpycoder.net/pub/repo.git/lua-interface
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 6515d74..fa7adfc 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)