From f4dbdb211c7e4c366c6ef268ba56eea4b06825c6 Mon Sep 17 00:00:00 2001 From: Tim Segers Date: Sun, 1 Jan 2023 15:24:29 +0100 Subject: Change includes to be relative to top-level directory --- Makefile | 2 +- src/opendeco-conf.c | 2 +- test/deco_test.c | 4 ++-- test/opendeco_test.c | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 6cfb8e6..4a815b0 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ PREFIX = /usr/local VERSION = \"$(shell git describe --tags --dirty)\" -CFLAGS = --std=c99 -pedantic -Wall -Werror -Os -D_DEFAULT_SOURCE -DVERSION=${VERSION} +CFLAGS = --std=c99 -pedantic -Wall -Werror -Os -I. -D_DEFAULT_SOURCE -DVERSION=${VERSION} all: opendeco opendeco_test libopendeco.a diff --git a/src/opendeco-conf.c b/src/opendeco-conf.c index e6b957f..41922df 100644 --- a/src/opendeco-conf.c +++ b/src/opendeco-conf.c @@ -3,7 +3,7 @@ #include #include "opendeco-conf.h" -#include "../toml/toml.h" +#include "toml/toml.h" int opendeco_conf_parse(const char *confpath, struct arguments *arguments) { diff --git a/test/deco_test.c b/test/deco_test.c index ec48789..1f9ba9f 100644 --- a/test/deco_test.c +++ b/test/deco_test.c @@ -1,6 +1,6 @@ -#include "../minunit/minunit.h" +#include "minunit/minunit.h" -#include "../src/deco.h" +#include "src/deco.h" MU_TEST(test_bar_to_msw) { diff --git a/test/opendeco_test.c b/test/opendeco_test.c index 70f3c67..3e4a980 100644 --- a/test/opendeco_test.c +++ b/test/opendeco_test.c @@ -1,4 +1,4 @@ -#include "../minunit/minunit.h" +#include "minunit/minunit.h" MU_TEST_SUITE(testsuite_deco); -- cgit v1.2.3-70-g09d2