projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76cc179
)
added 'strip' target to Makefile for building distribution packages
author
Holger Schemel
<info@artsoft.org>
Tue, 27 Oct 2015 20:29:22 +0000
(21:29 +0100)
committer
Holger Schemel
<info@artsoft.org>
Tue, 27 Oct 2015 20:29:22 +0000
(21:29 +0100)
Makefile
patch
|
blob
|
history
src/Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/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
diff --git
a/src/Makefile
b/src/Makefile
index 63206959173e9699675b5ebb46f2b8dc522fd4f5..9dcc3d95fedf237109fa91fa8000bb4e48b63fe7 100644
(file)
--- 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):