aboutsummaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile2
1 files changed, 1 insertions, 1 deletions
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|