summaryrefslogtreecommitdiff
path: root/textscreen
diff options
context:
space:
mode:
authorSimon Howard2014-12-26 18:02:34 +0100
committerSimon Howard2014-12-26 18:02:34 +0100
commitb6ba5eb89afe488f66407562ff57da596e7c841e (patch)
tree478171822131f358da14d61cc062aa994a87dc00 /textscreen
parentba8400b38d8264fe28ec03f772348b288a6ed075 (diff)
parentd66659c6067ec18022718457bcf7c73145cf7b38 (diff)
downloadchocolate-doom-b6ba5eb89afe488f66407562ff57da596e7c841e.tar.gz
chocolate-doom-b6ba5eb89afe488f66407562ff57da596e7c841e.tar.bz2
chocolate-doom-b6ba5eb89afe488f66407562ff57da596e7c841e.zip
Merge pull request #495 from WinterMute/build-outside-source-dir
Allow building in subdirectory or outside source directory This one allows you to configure && make from a subdirectory or a directory outside the source tree. Useful for building several versions in the same tree for comparison.
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