projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61f3e43
)
integrated stripping executable into distribution build target
author
Holger Schemel
<info@artsoft.org>
Tue, 22 Dec 2015 11:20:54 +0000
(12:20 +0100)
committer
Holger Schemel
<info@artsoft.org>
Tue, 22 Dec 2015 11:20:54 +0000
(12:20 +0100)
Makefile
patch
|
blob
|
history
src/Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index c944d58b08a3916d02918d7a18a26c275f186f4f..41840b0cb6e2734dd816b2dd57051631069f5bfa 100644
(file)
--- 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 9dcc3d95fedf237109fa91fa8000bb4e48b63fe7..f0dd3e00879b88c267ab6ad4ba2a72fedf7e8333 100644
(file)
--- 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)