commit 0c3ec4fa19388221f7faf0de390586abdca53114
parent 590dbdbedcdaa4e58dda724be5b20050de6fb43d
Author: Jacob R. Edwards <n/a>
Date: Sun, 20 Feb 2022 14:29:59 -0800
Fix aps search-path
Use the include directory, not include/ap, for aps search-path.
Diffstat:
3 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/aps/aps.h b/aps/aps.h
@@ -1,4 +1,4 @@
-#include <ap.h>
+#include <ap/ap.h>
struct aps;
diff --git a/aps/find.c b/aps/find.c
@@ -17,10 +17,11 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
+#include <ap/item.h>
+
#include <stddef.h>
#include "find.h"
-#include "item.h"
#include "match.h"
struct item *
diff --git a/aps/mkfile b/aps/mkfile
@@ -7,7 +7,7 @@ obj = ${src:%.c=%.o}
lib = ap
mk = ../mk
-cppflags = ${lib:%=-I../include/%}
+cppflags = -I../include
ldflags = ${lib:%=-L../lib/%}
ldlibs = ${lib:%=-l%}