Add -g -ggdb to Makefile by default.
It makes sense to enable debug by default, and keeping the symbols around. This is also ensured by removing the call to strip to remove all symbols.
This commit is contained in:
parent
53a6d92443
commit
a42fb06963
3
Makefile
3
Makefile
|
@ -12,7 +12,7 @@ CLEAN = $(TARGET) $(OBJ) $(DEPS) hintingmode.h
|
|||
INSTALL = $(BINDIR)/$(TARGET) $(addprefix $(MANDIR)/man1/,$(MAN))
|
||||
|
||||
CFLAGS += `pkg-config --cflags $(LIBS)`
|
||||
LDFLAGS += `pkg-config --libs $(LIBS)`
|
||||
LDFLAGS += `pkg-config --libs $(LIBS)` -g -ggdb
|
||||
|
||||
PREFIX ?= /usr/local
|
||||
BINDIR ?= $(PREFIX)/bin
|
||||
|
@ -51,7 +51,6 @@ uninstall:
|
|||
$(DESTDIR)/$(BINDIR)/%: ./%
|
||||
-[ -e '$(@D)' ] || mkdir -p '$(@D)' && chmod $(DMOD) '$(@D)'
|
||||
cp -f '$<' '$@'
|
||||
-strip -s '$@'
|
||||
chmod $(EXECMOD) '$@'
|
||||
|
||||
# pattern rule to install manpages
|
||||
|
|
Loading…
Reference in New Issue