aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2022-01-07 20:50:16 +0200
committerKimplul <kimi.h.kuparinen@gmail.com>2022-01-07 20:50:16 +0200
commitacc26f85f32c68a51e5cc7b613cd0ea0b0630505 (patch)
tree90d68a8292360f0796509f1febc7b66b0a53f4aa /scripts
parent8d90fb3e4a5d02df75584016563ef84901967b9f (diff)
downloadkmi-acc26f85f32c68a51e5cc7b613cd0ea0b0630505.tar.gz
kmi-acc26f85f32c68a51e5cc7b613cd0ea0b0630505.zip
Use #if defined(...) when not guard clause
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/gen-deps4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/gen-deps b/scripts/gen-deps
index bdc1626..bcfb15d 100755
--- a/scripts/gen-deps
+++ b/scripts/gen-deps
@@ -22,8 +22,8 @@ genrule () {
gencommon "${1}"
echo " \$(COMPILE) -c \$< -o \$@" >> deps.mk
- echo "${lint}: ${s}" >> deps.mk
- echo " \$(LINT) -c \$<" >> deps.mk
+ echo "${lint}: ${s}" >> deps.mk
+ echo " \$(LINT) -c \$< -o /dev/null" >> deps.mk
}
case "${1}" in