pinosaur
/
smdp.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
f9a6aa5
)
Replace `strip` with `ld` `-s' option.
author
FreeBirdLjj
<ljj11011@mail.ustc.edu.cn>
Wed, 17 Sep 2014 15:08:26 +0000
(23:08 +0800)
committer
FreeBirdLjj
<ljj11011@mail.ustc.edu.cn>
Wed, 17 Sep 2014 15:08:26 +0000
(23:08 +0800)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index
1748cbd
..
4360f37
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-19,12
+19,14
@@
#
CFLAGS = -O3
+LDFLAGS = -s
LDLIBS = -lncurses
OBJECTS = cstring.o cstack.o markdown.o parser.o viewer.o mdp.o
DESTDIR ?= /usr/bin
ifeq ($(DEBUG),1)
- CFLAGS := -Wall -g -O0
+CFLAGS := -Wall -g -O0
+LDFLAGS :=
endif
all: mdp
@@
-35,7
+37,6
@@
clean:
$(RM) $(OBJECTS) mdp
install: mdp
- if which strip 1>/dev/null 2>&1; then strip mdp; fi
install -d $(PREFIX)$(DESTDIR)
install -m 755 mdp $(PREFIX)$(DESTDIR)/mdp