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:
Thomas Adam 2010-07-09 06:25:27 +01:00
parent 53a6d92443
commit a42fb06963
1 changed files with 1 additions and 2 deletions

View File

@ -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