From d66659c6067ec18022718457bcf7c73145cf7b38 Mon Sep 17 00:00:00 2001 From: Dave Murphy Date: Fri, 26 Dec 2014 15:40:46 +0000 Subject: allow building in subdirectory or outside source directory --- src/heretic/Makefile.am | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/heretic/Makefile.am') diff --git a/src/heretic/Makefile.am b/src/heretic/Makefile.am index bf834733..88ccc7b8 100644 --- a/src/heretic/Makefile.am +++ b/src/heretic/Makefile.am @@ -1,6 +1,6 @@ -AM_CFLAGS=-I.. \ - -I$(top_builddir)/textscreen \ +AM_CFLAGS=-I$(top_srcdir)/src \ + -I$(top_srcdir)/textscreen \ @SDL_CFLAGS@ @SDLMIXER_CFLAGS@ @SDLNET_CFLAGS@ noinst_LIBRARIES=libheretic.a @@ -51,11 +51,11 @@ r_segs.c \ r_things.c \ sb_bar.c \ sounds.c sounds.h \ -s_sound.c s_sound.h +s_sound.c s_sound.h EXTRA_DIST= \ i_sound.c \ -i_ibm.c +i_ibm.c FEATURE_DEHACKED_SOURCE_FILES = \ deh_ammo.c \ -- cgit v1.2.3