Skip to content

Commit 7c5d14b

Browse files
committed
Updated dmake: activated validateCFG when 'make checkcfg' is called.
1 parent 6f06645 commit 7c5d14b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ test: all
262262
check: all
263263
./testrunner -q
264264

265-
checkcfg: cppcheck
265+
checkcfg: cppcheck validateCFG
266266
./test/cfg/runtests.sh
267267

268268
dmake: tools/dmake.o cli/filelister.o $(SRCDIR)/pathmatch.o $(SRCDIR)/path.o externals/simplecpp/simplecpp.o

tools/dmake.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ int main(int argc, char **argv)
375375
fout << "\t./testrunner\n\n";
376376
fout << "check:\tall\n";
377377
fout << "\t./testrunner -q\n\n";
378-
fout << "checkcfg:\tcppcheck\n";
378+
fout << "checkcfg:\tcppcheck validateCFG\n";
379379
fout << "\t./test/cfg/runtests.sh\n\n";
380380
fout << "dmake:\ttools/dmake.o cli/filelister.o $(SRCDIR)/pathmatch.o $(SRCDIR)/path.o externals/simplecpp/simplecpp.o\n";
381381
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";

0 commit comments

Comments
 (0)