This will allow users to override build settings without dirtying their trees, making life with `git stash' a bit easier. Signed-off-by: Samuel Bronson <naesten@xxxxxxxxx> --- Makefile | 10 ++++++++-- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 18cec68..f45a74a 100644 --- a/Makefile +++ b/Makefile @@ -10,9 +10,10 @@ LDFLAGS += -g AR = ar # -# For debugging, uncomment the next one +# For debugging, put this in config.mak: +# +# CFLAGS += -O0 -DDEBUG -g3 -gdwarf-2 # -#CFLAGS += -O0 -DDEBUG -g3 -gdwarf-2 HAVE_LIBXML=$(shell pkg-config --exists libxml-2.0 && echo 'yes') @@ -73,6 +74,11 @@ QUIET_LINK = $(Q:@=@echo ' LINK '$@;) QUIET_INST_SH = $(Q:@=echo -n ' INSTALL ';) QUIET_INST = $(Q:@=@echo -n ' INSTALL ';) + +# Allow users to override build settings without dirtying their trees +-include config.mak + + all: $(PROGRAMS) sparse.pc install: $(INST_PROGRAMS) $(LIBS) $(LIB_H) sparse.pc -- 1.6.3.1.169.g33fd.dirty -- To unsubscribe from this list: send the line "unsubscribe linux-sparse" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html