From 1353f081d446f98b7c2e40f25f4dc7ed1298458c Mon Sep 17 00:00:00 2001 From: Matt Johnston Date: Sun, 24 May 2020 13:15:24 +0800 Subject: Add linter for #ifdef --- Makefile.in | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Makefile.in') diff --git a/Makefile.in b/Makefile.in index aaf7b3b..76379d2 100644 --- a/Makefile.in +++ b/Makefile.in @@ -236,7 +236,7 @@ $(STATIC_LTC): $(OPTION_HEADERS) $(STATIC_LTM): $(OPTION_HEADERS) $(MAKE) -C libtommath -.PHONY : clean sizes thisclean distclean tidy ltc-clean ltm-clean +.PHONY : clean sizes thisclean distclean tidy ltc-clean ltm-clean lint ltc-clean: $(MAKE) -C libtomcrypt clean @@ -262,6 +262,9 @@ distclean: clean tidy tidy: -rm -f *~ *.gcov */*~ +lint: + cd $(srcdir); ./dropbear_lint.sh + ## Fuzzing targets # list of fuzz targets -- cgit v1.2.1