From b328cf5313b53652be2405113daa60e7ce745311 Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Mon, 19 Mar 2018 22:06:16 -0700 Subject: modules/ray: #include libray headers w/subdirs Rather than require adding -Isrc/libs/$lib to every Makefile.am for every lib used, just add -Ilibs to those makefiles and prefix the lib dir in the #include <> header paths. Later I'll probably just move the -Isrc/libs someplace common so the per-module Makefile.am doesn't need to bother with this stuff. --- src/modules/ray/Makefile.am | 2 +- src/modules/ray/ray.c | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/modules/ray/Makefile.am b/src/modules/ray/Makefile.am index 5fec057..637a921 100644 --- a/src/modules/ray/Makefile.am +++ b/src/modules/ray/Makefile.am @@ -1,4 +1,4 @@ noinst_LIBRARIES = libray.a libray_a_SOURCES = ray.c libray_a_CFLAGS = -ffast-math -libray_a_CPPFLAGS = -I@top_srcdir@/src -I@top_srcdir@/src/libs/ray +libray_a_CPPFLAGS = -I@top_srcdir@/src -I@top_srcdir@/src/libs diff --git a/src/modules/ray/ray.c b/src/modules/ray/ray.c index 1e58f3b..5a2dd40 100644 --- a/src/modules/ray/ray.c +++ b/src/modules/ray/ray.c @@ -6,10 +6,10 @@ #include "rototiller.h" #include "util.h" -#include "ray_camera.h" -#include "ray_object.h" -#include "ray_render.h" -#include "ray_scene.h" +#include "ray/ray_camera.h" +#include "ray/ray_object.h" +#include "ray/ray_render.h" +#include "ray/ray_scene.h" /* Copyright (C) 2016-2017 Vito Caputo */ -- cgit v1.2.3