From cd3574320bf57b2eaad93ef6f58dee6c9d41cb19 Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Wed, 8 Jul 2026 15:58:22 +0200 Subject: Add support for specifying include paths --- Rakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Rakefile') diff --git a/Rakefile b/Rakefile index 16fc6a6..ff537ec 100644 --- a/Rakefile +++ b/Rakefile @@ -26,7 +26,7 @@ rule(/gcc\/.+\.o$/ => ->(file) { Pathname.new(t.name).dirname.mkpath sources, compiler = t.prerequisites.partition { |source| source.end_with? '.elna' } - sh *compiler, '-c', '-O0', '-g', '-o', t.name, *sources + sh *compiler, '-c', '-O0', '-g', '-I', 'source', '-o', t.name, *sources end file 'build/gcc/elna' => FileList['source/**/*.elna'].reject { |file| -- cgit v1.2.3