From 65e6e1ac4913e82778db75f23fbd05667c23db1f Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Mon, 23 Nov 2009 17:07:03 -0800 Subject: * Makefile (CFLAGS): Added -I. so current directory is first in the include search path. This is needed for finding generated header files, when building in a separate directory. --- ChangeLog | 6 ++++++ Makefile | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index e206875a..91a1ecf1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2009-11-23 Kaz Kylheku + + * Makefile (CFLAGS): Added -I. so current directory is first + in the include search path. This is needed for finding + generated header files, when building in a separate directory. + 2009-11-23 Kaz Kylheku * lib.c (chk_malloc, chk_realloc): Fix diagnosable conversion, diff --git a/Makefile b/Makefile index 809e7eda..1313fe7a 100644 --- a/Makefile +++ b/Makefile @@ -28,7 +28,7 @@ -include config.make -CFLAGS := -I$(top_srcdir) $(LANG_FLAGS) $(DIAG_FLAGS) \ +CFLAGS := -I. -I$(top_srcdir) $(LANG_FLAGS) $(DIAG_FLAGS) \ $(OPT_FLAGS) $(INLINE_FLAGS) $(DBG_FLAGS) OBJS := txr.o lex.yy.o y.tab.o match.o lib.o regex.o gc.o unwind.o stream.o -- cgit v1.2.3