diff options
author | Simon Howard | 2014-12-26 18:02:34 +0100 |
---|---|---|
committer | Simon Howard | 2014-12-26 18:02:34 +0100 |
commit | b6ba5eb89afe488f66407562ff57da596e7c841e (patch) | |
tree | 478171822131f358da14d61cc062aa994a87dc00 /src/Makefile.am | |
parent | ba8400b38d8264fe28ec03f772348b288a6ed075 (diff) | |
parent | d66659c6067ec18022718457bcf7c73145cf7b38 (diff) | |
download | chocolate-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 'src/Makefile.am')
-rw-r--r-- | src/Makefile.am | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 16496d88..1e54824c 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -18,9 +18,9 @@ SETUP_BINARIES = @PROGRAM_PREFIX@doom-setup$(EXEEXT) \ execgames_SCRIPTS = $(SETUP_BINARIES) -AM_CFLAGS = -I$(top_builddir)/textscreen \ - -I$(top_builddir)/opl \ - -I$(top_builddir)/pcsound \ +AM_CFLAGS = -I$(top_srcdir)/textscreen \ + -I$(top_srcdir)/opl \ + -I$(top_srcdir)/pcsound \ @SDLMIXER_CFLAGS@ @SDLNET_CFLAGS@ # Common source files used by absolutely everything: |