summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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)