From 00c9a7a43060c215ebd3fe6e15233cd8ebc90bc7 Mon Sep 17 00:00:00 2001 From: adamjalkemo Date: Sat, 22 Feb 2020 09:37:56 +0100 Subject: Update Custom-build-targets.md Use the declared variables infile and outfile --- docs/markdown/Custom-build-targets.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/markdown/Custom-build-targets.md b/docs/markdown/Custom-build-targets.md index 9a0f2a15b..f0b50d8fe 100644 --- a/docs/markdown/Custom-build-targets.md +++ b/docs/markdown/Custom-build-targets.md @@ -16,8 +16,8 @@ infile = 'source_code.txt' outfile = 'output.bin' mytarget = custom_target('targetname', - output : 'output.bin', - input : 'source_code.txt', + output : outfile, + input : infile, command : [comp, '@INPUT@', '@OUTPUT@'], install : true, install_dir : 'subdir') -- cgit v1.2.3