Comments
Patch
difference to matter or even be measured. And, when I get a segv, it's
nice to have it debuggable. And there's certainly no need to strip the
binary ...
===================================================================
@@ -2,7 +2,9 @@
HOSTCXX ?= g++
HOSTCC ?= gcc
+CFLAGS ?= -g
+
BINARY:=$(obj)/cbfstool
COMMON:=common.o compress.o minilzma.o
@@ -43,9 +45,8 @@
ctags *.[ch]
CXXFLAGS=-DCOMPACT
-CFLAGS=
-LDFLAGS=
+CFLAGS=-g
+LDFLAGS=-g
$(obj)/cbfstool:$(COMMON)
$(HOSTCXX) $(LDFLAGS) -o $@ $^
- strip $@