summaryrefslogtreecommitdiffstats
path: root/Makefile
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 /Makefile
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.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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