From 7c5d14bf661dd94476fbf44dd9e79b0b8a933dbf Mon Sep 17 00:00:00 2001 From: orbitcowboy Date: Sat, 29 Jul 2017 12:42:43 +0200 Subject: [PATCH] Updated dmake: activated validateCFG when 'make checkcfg' is called. --- Makefile | 2 +- tools/dmake.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index df8f37a5c..a6863c383 100644 --- a/Makefile +++ b/Makefile @@ -262,7 +262,7 @@ test: all check: all ./testrunner -q -checkcfg: cppcheck +checkcfg: cppcheck validateCFG ./test/cfg/runtests.sh dmake: tools/dmake.o cli/filelister.o $(SRCDIR)/pathmatch.o $(SRCDIR)/path.o externals/simplecpp/simplecpp.o diff --git a/tools/dmake.cpp b/tools/dmake.cpp index ae7622c93..65c135bc6 100644 --- a/tools/dmake.cpp +++ b/tools/dmake.cpp @@ -375,7 +375,7 @@ int main(int argc, char **argv) fout << "\t./testrunner\n\n"; fout << "check:\tall\n"; fout << "\t./testrunner -q\n\n"; - fout << "checkcfg:\tcppcheck\n"; + fout << "checkcfg:\tcppcheck validateCFG\n"; fout << "\t./test/cfg/runtests.sh\n\n"; fout << "dmake:\ttools/dmake.o cli/filelister.o $(SRCDIR)/pathmatch.o $(SRCDIR)/path.o externals/simplecpp/simplecpp.o\n"; fout << "\t$(CXX) $(CXXFLAGS) -o $@ tools/dmake.o cli/filelister.o $(SRCDIR)/pathmatch.o $(SRCDIR)/path.o externals/simplecpp/simplecpp.o -Ilib $(LDFLAGS)\n\n";