summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2009-11-23 17:07:03 -0800
committerKaz Kylheku <kaz@kylheku.com>2009-11-23 17:07:03 -0800
commit65e6e1ac4913e82778db75f23fbd05667c23db1f (patch)
tree36c8d1bf08fa81651ae46d3ad7695e66cddc745d
parent6fdcac1bc2cd78acdc62d0e3a2905bf8ec22b0c8 (diff)
downloadtxr-65e6e1ac4913e82778db75f23fbd05667c23db1f.tar.gz
txr-65e6e1ac4913e82778db75f23fbd05667c23db1f.tar.bz2
txr-65e6e1ac4913e82778db75f23fbd05667c23db1f.zip
* 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.
-rw-r--r--ChangeLog6
-rw-r--r--Makefile2
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index e206875a..91a1ecf1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2009-11-23 Kaz Kylheku <kkylheku@gmail.com>
+ * 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 <kkylheku@gmail.com>
+
* lib.c (chk_malloc, chk_realloc): Fix diagnosable conversion,
caught by gcc 4.1.1.
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