summaryrefslogtreecommitdiff
path: root/textscreen
diff options
context:
space:
mode:
authorDave Murphy2014-12-26 15:40:46 +0000
committerDave Murphy2014-12-26 15:40:46 +0000
commitd66659c6067ec18022718457bcf7c73145cf7b38 (patch)
tree478171822131f358da14d61cc062aa994a87dc00 /textscreen
parentba8400b38d8264fe28ec03f772348b288a6ed075 (diff)
downloadchocolate-doom-d66659c6067ec18022718457bcf7c73145cf7b38.tar.gz
chocolate-doom-d66659c6067ec18022718457bcf7c73145cf7b38.tar.bz2
chocolate-doom-d66659c6067ec18022718457bcf7c73145cf7b38.zip
allow building in subdirectory or outside source directory
Diffstat (limited to 'textscreen')
-rw-r--r--textscreen/Makefile.am2
-rw-r--r--textscreen/examples/Makefile.am2
2 files changed, 2 insertions, 2 deletions
diff --git a/textscreen/Makefile.am b/textscreen/Makefile.am
index 2c04ff0f..628d4ff6 100644
--- a/textscreen/Makefile.am
+++ b/textscreen/Makefile.am
@@ -1,5 +1,5 @@
-AM_CFLAGS = -I$(top_builddir)/src
+AM_CFLAGS = -I$(top_srcdir)/src
CTAGS_ARGS=-I TXT_UNCAST_ARG+
diff --git a/textscreen/examples/Makefile.am b/textscreen/examples/Makefile.am
index efd17072..4632d921 100644
--- a/textscreen/examples/Makefile.am
+++ b/textscreen/examples/Makefile.am
@@ -1,5 +1,5 @@
-AM_CFLAGS = -I.. -I$(top_builddir)/src
+AM_CFLAGS = -I$(top_srcdir)/src -I$(top_srcdir)/textscreen
noinst_PROGRAMS=guitest calculator