summaryrefslogtreecommitdiff
path: root/src/hexen
diff options
context:
space:
mode:
authorSimon Howard2014-12-26 18:02:34 +0100
committerSimon Howard2014-12-26 18:02:34 +0100
commitb6ba5eb89afe488f66407562ff57da596e7c841e (patch)
tree478171822131f358da14d61cc062aa994a87dc00 /src/hexen
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 'src/hexen')
-rw-r--r--src/hexen/Makefile.am6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/hexen/Makefile.am b/src/hexen/Makefile.am
index e8ca8b98..b3953ce6 100644
--- a/src/hexen/Makefile.am
+++ b/src/hexen/Makefile.am
@@ -1,4 +1,4 @@
-AM_CFLAGS=-I.. @SDL_CFLAGS@ @SDLMIXER_CFLAGS@ @SDLNET_CFLAGS@
+AM_CFLAGS=-I$(top_srcdir)/src @SDL_CFLAGS@ @SDLMIXER_CFLAGS@ @SDLNET_CFLAGS@
noinst_LIBRARIES=libhexen.a
@@ -58,10 +58,10 @@ sounds.c sounds.h \
st_start.c st_start.h \
sv_save.c \
textdefs.h \
- xddefs.h
+ xddefs.h
EXTRA_DIST= \
i_ibm.c \
-i_sound.c
+i_sound.c
libhexen_a_SOURCES=$(SOURCE_FILES)