From: Holger Schemel Date: Tue, 27 Oct 2015 20:29:22 +0000 (+0100) Subject: added 'strip' target to Makefile for building distribution packages X-Git-Tag: 4.0.0.0-rc1~133 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=cb5d2ce15259a2aea0626cfc81733563074ea591;p=rocksndiamonds.git added 'strip' target to Makefile for building distribution packages --- diff --git a/Makefile b/Makefile index 41840b0c..c944d58b 100644 --- a/Makefile +++ b/Makefile @@ -76,6 +76,9 @@ mac: cross-win32: @PATH=$(CROSS_PATH_WIN32)/bin:${PATH} $(MAKE_CMD) PLATFORM=cross-win32 +strip: + @$(MAKE_CMD) strip + clean: @$(MAKE_CMD) clean diff --git a/src/Makefile b/src/Makefile index 63206959..9dcc3d95 100644 --- a/src/Makefile +++ b/src/Makefile @@ -216,6 +216,9 @@ all: $(AUTOCONF) libgame_dir game_em_dir game_sp_dir $(PROGNAME) graphics_dir $(PROGNAME): $(RNDLIBS) $(TIMESTAMP_FILE) $(OBJS) $(ICON) $(CC) $(PROFILING) $(OBJS) $(ICON) $(RNDLIBS) $(LDFLAGS) -o $(PROGNAME) +strip: $(PROGNAME) + strip $(PROGNAME) + libgame_dir: @$(MAKE) -C $(LIBGAME_DIR) $(LIBGAME):