From: Holger Schemel Date: Tue, 22 Dec 2015 11:20:54 +0000 (+0100) Subject: integrated stripping executable into distribution build target X-Git-Tag: 4.0.0.0-rc1~107 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=eb72f4adc74084da40e39484b2545e3d49d39eaa;p=rocksndiamonds.git integrated stripping executable into distribution build target --- diff --git a/Makefile b/Makefile index c944d58b..41840b0c 100644 --- a/Makefile +++ b/Makefile @@ -76,9 +76,6 @@ 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 9dcc3d95..f0dd3e00 100644 --- a/src/Makefile +++ b/src/Makefile @@ -215,9 +215,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) +ifdef BUILD_DIST strip $(PROGNAME) +endif libgame_dir: @$(MAKE) -C $(LIBGAME_DIR)