added 'strip' target to Makefile for building distribution packages
authorHolger Schemel <info@artsoft.org>
Tue, 27 Oct 2015 20:29:22 +0000 (21:29 +0100)
committerHolger Schemel <info@artsoft.org>
Tue, 27 Oct 2015 20:29:22 +0000 (21:29 +0100)
Makefile
src/Makefile

index 41840b0cb6e2734dd816b2dd57051631069f5bfa..c944d58b08a3916d02918d7a18a26c275f186f4f 100644 (file)
--- 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
 
index 63206959173e9699675b5ebb46f2b8dc522fd4f5..9dcc3d95fedf237109fa91fa8000bb4e48b63fe7 100644 (file)
@@ -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):