diff options
| author | Eugen Wissner <belka@caraus.de> | 2026-07-08 15:58:22 +0200 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2026-07-08 16:18:50 +0200 |
| commit | cd3574320bf57b2eaad93ef6f58dee6c9d41cb19 (patch) | |
| tree | 9248d5f6d68acefb66de62aad6a0b1e5059621bc /Rakefile | |
| parent | ffe6097c534c82b9402bb6f0a57abeebd075e61d (diff) | |
| download | elna-cd3574320bf57b2eaad93ef6f58dee6c9d41cb19.tar.gz | |
Add support for specifying include paths
Diffstat (limited to 'Rakefile')
| -rw-r--r-- | Rakefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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| |
