From 52b6d721323c70256785385d1dcd22483011be62 Mon Sep 17 00:00:00 2001 From: Hayodea Hakol Date: Sun, 5 Jan 2025 07:47:38 -0400 Subject: [PATCH] Build: Use relative paths for includes --- Makefile.am | 2 +- configure.ac | 2 +- hcore/Makefile.am | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile.am b/Makefile.am index 93c0b5a..b1d4687 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,6 +1,6 @@ SUBDIRS = hcore -AM_CPPFLAGS+= -I"$(abs_srcdir)/hcore/include" +AM_CPPFLAGS+= -I"$(top_srcdir)/hcore/include" bin_PROGRAMS = harikoff harikoff_SOURCES = main.cpp diff --git a/configure.ac b/configure.ac index 5fd22a9..69c0ca0 100644 --- a/configure.ac +++ b/configure.ac @@ -36,7 +36,7 @@ AC_PROG_CXX AC_PROG_RANLIB AM_PROG_AR -AM_CPPFLAGS=m4_normalize(["-I\"\$(abs_top_srcdir)/include\""]) +AM_CPPFLAGS=m4_normalize(["-I\"\$(top_srcdir)/include\""]) AC_SUBST([AM_CPPFLAGS]) diff --git a/hcore/Makefile.am b/hcore/Makefile.am index dbfc28d..720257a 100644 --- a/hcore/Makefile.am +++ b/hcore/Makefile.am @@ -1,4 +1,4 @@ -AM_CPPFLAGS+= -I"$(abs_top_srcdir)/hcore/include" +AM_CPPFLAGS+= -I"$(top_srcdir)/hcore/include" noinst_LIBRARIES = libhcore.a libhcore_a_SOURCES = mind.cpp