2010-12-12 09:46:59 +01:00
|
|
|
# This file is generated by tools/dmake, do not edit.
|
|
|
|
|
2010-09-20 13:21:33 +02:00
|
|
|
ifndef CXXFLAGS
|
2010-12-12 09:46:59 +01:00
|
|
|
CXXFLAGS=-Wall -Wextra -Wshadow -pedantic -Wno-long-long -Wfloat-equal -Wcast-qual -Wsign-conversion -g
|
2010-09-20 13:21:33 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifndef CXX
|
|
|
|
CXX=g++
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifndef PREFIX
|
|
|
|
PREFIX=/usr
|
|
|
|
endif
|
|
|
|
|
|
|
|
BIN=$(DESTDIR)$(PREFIX)/bin
|
|
|
|
|
|
|
|
# For 'make man': sudo apt-get install xsltproc docbook-xsl docbook-xml on Linux
|
2010-02-23 18:38:18 +01:00
|
|
|
DB2MAN=/usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/docbook.xsl
|
|
|
|
XP=xsltproc -''-nonet -''-param man.charmap.use.subset "0"
|
|
|
|
MAN_SOURCE=man/cppcheck.1.xml
|
|
|
|
|
|
|
|
|
|
|
|
###### Object Files
|
|
|
|
|
|
|
|
LIBOBJ = lib/checkautovariables.o \
|
|
|
|
lib/checkbufferoverrun.o \
|
|
|
|
lib/checkclass.o \
|
|
|
|
lib/checkexceptionsafety.o \
|
|
|
|
lib/checkmemoryleak.o \
|
2010-10-31 11:51:25 +01:00
|
|
|
lib/checknullpointer.o \
|
2010-08-14 20:13:46 +02:00
|
|
|
lib/checkobsoletefunctions.o \
|
2010-02-23 18:38:18 +01:00
|
|
|
lib/checkother.o \
|
2010-10-16 23:57:25 +02:00
|
|
|
lib/checkpostfixoperator.o \
|
2010-02-23 18:38:18 +01:00
|
|
|
lib/checkstl.o \
|
2010-10-31 12:31:11 +01:00
|
|
|
lib/checkuninitvar.o \
|
2010-02-23 18:38:18 +01:00
|
|
|
lib/checkunusedfunctions.o \
|
|
|
|
lib/cppcheck.o \
|
|
|
|
lib/errorlogger.o \
|
|
|
|
lib/executionpath.o \
|
|
|
|
lib/filelister.o \
|
2010-02-28 23:50:00 +01:00
|
|
|
lib/filelister_unix.o \
|
|
|
|
lib/filelister_win32.o \
|
2010-02-23 18:38:18 +01:00
|
|
|
lib/mathlib.o \
|
2010-07-17 16:38:36 +02:00
|
|
|
lib/path.o \
|
2010-02-23 18:38:18 +01:00
|
|
|
lib/preprocessor.o \
|
|
|
|
lib/settings.o \
|
2010-11-13 07:31:56 +01:00
|
|
|
lib/symboldatabase.o \
|
2010-08-31 22:22:48 +02:00
|
|
|
lib/timer.o \
|
2010-02-23 18:38:18 +01:00
|
|
|
lib/token.o \
|
|
|
|
lib/tokenize.o
|
|
|
|
|
2010-09-05 10:47:31 +02:00
|
|
|
CLIOBJ = cli/cmdlineparser.o \
|
|
|
|
cli/cppcheckexecutor.o \
|
2010-02-23 18:38:18 +01:00
|
|
|
cli/main.o \
|
|
|
|
cli/threadexecutor.o
|
|
|
|
|
2010-09-26 05:29:23 +02:00
|
|
|
TESTOBJ = test/options.o \
|
|
|
|
test/testautovariables.o \
|
2010-02-23 18:38:18 +01:00
|
|
|
test/testbufferoverrun.o \
|
|
|
|
test/testcharvar.o \
|
|
|
|
test/testclass.o \
|
2010-09-06 21:45:29 +02:00
|
|
|
test/testcmdlineparser.o \
|
2010-02-23 18:38:18 +01:00
|
|
|
test/testconstructors.o \
|
|
|
|
test/testcppcheck.o \
|
|
|
|
test/testdivision.o \
|
2010-12-05 22:06:36 +01:00
|
|
|
test/testerrorlogger.o \
|
2010-02-23 18:38:18 +01:00
|
|
|
test/testexceptionsafety.o \
|
|
|
|
test/testincompletestatement.o \
|
|
|
|
test/testmathlib.o \
|
|
|
|
test/testmemleak.o \
|
2010-10-31 11:51:25 +01:00
|
|
|
test/testnullpointer.o \
|
2010-08-14 20:13:46 +02:00
|
|
|
test/testobsoletefunctions.o \
|
2010-09-26 05:29:23 +02:00
|
|
|
test/testoptions.o \
|
2010-02-23 18:38:18 +01:00
|
|
|
test/testother.o \
|
2010-10-29 22:11:41 +02:00
|
|
|
test/testpath.o \
|
2010-10-16 23:57:25 +02:00
|
|
|
test/testpostfixoperator.o \
|
2010-02-23 18:38:18 +01:00
|
|
|
test/testpreprocessor.o \
|
|
|
|
test/testrunner.o \
|
2010-07-09 13:27:15 +02:00
|
|
|
test/testsettings.o \
|
2010-02-23 18:38:18 +01:00
|
|
|
test/testsimplifytokens.o \
|
|
|
|
test/teststl.o \
|
|
|
|
test/testsuite.o \
|
2010-06-14 22:18:09 +02:00
|
|
|
test/testthreadexecutor.o \
|
2010-02-23 18:38:18 +01:00
|
|
|
test/testtoken.o \
|
|
|
|
test/testtokenize.o \
|
2010-10-31 12:31:11 +01:00
|
|
|
test/testuninitvar.o \
|
2010-02-23 18:38:18 +01:00
|
|
|
test/testunusedfunctions.o \
|
|
|
|
test/testunusedprivfunc.o \
|
2010-05-13 22:14:29 +02:00
|
|
|
test/testunusedvar.o \
|
|
|
|
test/tinyxml/tinystr.o \
|
|
|
|
test/tinyxml/tinyxml.o \
|
|
|
|
test/tinyxml/tinyxmlerror.o \
|
|
|
|
test/tinyxml/tinyxmlparser.o
|
2010-02-23 18:38:18 +01:00
|
|
|
|
|
|
|
|
|
|
|
###### Targets
|
|
|
|
|
|
|
|
cppcheck: $(LIBOBJ) $(CLIOBJ)
|
|
|
|
$(CXX) $(CXXFLAGS) -o cppcheck $(CLIOBJ) $(LIBOBJ) $(LDFLAGS)
|
|
|
|
|
2010-09-22 20:25:27 +02:00
|
|
|
all: cppcheck testrunner
|
2010-02-23 18:38:18 +01:00
|
|
|
|
2010-10-22 17:09:50 +02:00
|
|
|
testrunner: $(TESTOBJ) $(LIBOBJ) cli/threadexecutor.o cli/cmdlineparser.o cli/cppcheckexecutor.o
|
|
|
|
$(CXX) $(CXXFLAGS) -o testrunner $(TESTOBJ) $(LIBOBJ) cli/threadexecutor.o cli/cmdlineparser.o cli/cppcheckexecutor.o $(LDFLAGS)
|
2010-02-23 18:38:18 +01:00
|
|
|
|
|
|
|
test: all
|
|
|
|
./testrunner
|
|
|
|
|
2010-09-26 05:29:23 +02:00
|
|
|
check: all
|
|
|
|
./testrunner -g -q
|
|
|
|
|
2010-09-22 20:25:27 +02:00
|
|
|
dmake: tools/dmake.cpp
|
2010-07-27 15:25:03 +02:00
|
|
|
$(CXX) -o dmake tools/dmake.cpp lib/filelister*.cpp
|
|
|
|
|
2010-02-23 18:38:18 +01:00
|
|
|
clean:
|
2010-09-22 20:25:27 +02:00
|
|
|
rm -f lib/*.o cli/*.o test/*.o testrunner cppcheck cppcheck.1
|
|
|
|
|
|
|
|
man: man/cppcheck.1
|
|
|
|
|
|
|
|
man/cppcheck.1: $(MAN_SOURCE)
|
2010-02-23 18:38:18 +01:00
|
|
|
|
|
|
|
$(XP) $(DB2MAN) $(MAN_SOURCE)
|
|
|
|
|
2010-10-12 14:04:06 +02:00
|
|
|
tags:
|
|
|
|
ctags -R --exclude=doxyoutput .
|
|
|
|
|
2010-02-23 18:38:18 +01:00
|
|
|
install: cppcheck
|
|
|
|
install -d ${BIN}
|
|
|
|
install cppcheck ${BIN}
|
|
|
|
|
|
|
|
|
|
|
|
###### Build
|
|
|
|
|
2010-10-08 19:43:41 +02:00
|
|
|
lib/checkautovariables.o: lib/checkautovariables.cpp lib/checkautovariables.h lib/check.h lib/token.h lib/tokenize.h lib/settings.h lib/errorlogger.h
|
2010-02-23 18:38:18 +01:00
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -c -o lib/checkautovariables.o lib/checkautovariables.cpp
|
|
|
|
|
2010-10-08 19:43:41 +02:00
|
|
|
lib/checkbufferoverrun.o: lib/checkbufferoverrun.cpp lib/checkbufferoverrun.h lib/check.h lib/token.h lib/tokenize.h lib/settings.h lib/errorlogger.h lib/mathlib.h lib/executionpath.h
|
2010-02-23 18:38:18 +01:00
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -c -o lib/checkbufferoverrun.o lib/checkbufferoverrun.cpp
|
|
|
|
|
2010-11-13 07:31:56 +01:00
|
|
|
lib/checkclass.o: lib/checkclass.cpp lib/checkclass.h lib/check.h lib/token.h lib/tokenize.h lib/settings.h lib/errorlogger.h lib/symboldatabase.h
|
2010-02-23 18:38:18 +01:00
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -c -o lib/checkclass.o lib/checkclass.cpp
|
|
|
|
|
2010-10-08 19:43:41 +02:00
|
|
|
lib/checkexceptionsafety.o: lib/checkexceptionsafety.cpp lib/checkexceptionsafety.h lib/check.h lib/token.h lib/tokenize.h lib/settings.h lib/errorlogger.h
|
2010-02-23 18:38:18 +01:00
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -c -o lib/checkexceptionsafety.o lib/checkexceptionsafety.cpp
|
|
|
|
|
2010-11-29 19:55:04 +01:00
|
|
|
lib/checkmemoryleak.o: lib/checkmemoryleak.cpp lib/checkmemoryleak.h lib/check.h lib/token.h lib/tokenize.h lib/settings.h lib/errorlogger.h lib/symboldatabase.h lib/mathlib.h lib/executionpath.h lib/checkuninitvar.h
|
2010-02-23 18:38:18 +01:00
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -c -o lib/checkmemoryleak.o lib/checkmemoryleak.cpp
|
|
|
|
|
2010-10-31 11:51:25 +01:00
|
|
|
lib/checknullpointer.o: lib/checknullpointer.cpp lib/checknullpointer.h lib/check.h lib/token.h lib/tokenize.h lib/settings.h lib/errorlogger.h lib/executionpath.h lib/mathlib.h
|
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -c -o lib/checknullpointer.o lib/checknullpointer.cpp
|
|
|
|
|
2010-10-08 19:43:41 +02:00
|
|
|
lib/checkobsoletefunctions.o: lib/checkobsoletefunctions.cpp lib/checkobsoletefunctions.h lib/check.h lib/token.h lib/tokenize.h lib/settings.h lib/errorlogger.h
|
2010-08-14 20:13:46 +02:00
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -c -o lib/checkobsoletefunctions.o lib/checkobsoletefunctions.cpp
|
|
|
|
|
2010-10-31 12:31:11 +01:00
|
|
|
lib/checkother.o: lib/checkother.cpp lib/checkother.h lib/check.h lib/token.h lib/tokenize.h lib/settings.h lib/errorlogger.h lib/mathlib.h
|
2010-02-23 18:38:18 +01:00
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -c -o lib/checkother.o lib/checkother.cpp
|
|
|
|
|
2010-10-16 23:57:25 +02:00
|
|
|
lib/checkpostfixoperator.o: lib/checkpostfixoperator.cpp lib/checkpostfixoperator.h lib/check.h lib/token.h lib/tokenize.h lib/settings.h lib/errorlogger.h
|
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -c -o lib/checkpostfixoperator.o lib/checkpostfixoperator.cpp
|
|
|
|
|
2010-10-08 19:43:41 +02:00
|
|
|
lib/checkstl.o: lib/checkstl.cpp lib/checkstl.h lib/check.h lib/token.h lib/tokenize.h lib/settings.h lib/errorlogger.h lib/executionpath.h
|
2010-02-23 18:38:18 +01:00
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -c -o lib/checkstl.o lib/checkstl.cpp
|
|
|
|
|
2010-10-31 12:31:11 +01:00
|
|
|
lib/checkuninitvar.o: lib/checkuninitvar.cpp lib/checkuninitvar.h lib/check.h lib/token.h lib/tokenize.h lib/settings.h lib/errorlogger.h lib/mathlib.h lib/executionpath.h lib/checknullpointer.h
|
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -c -o lib/checkuninitvar.o lib/checkuninitvar.cpp
|
|
|
|
|
2010-10-08 19:43:41 +02:00
|
|
|
lib/checkunusedfunctions.o: lib/checkunusedfunctions.cpp lib/checkunusedfunctions.h lib/check.h lib/token.h lib/tokenize.h lib/settings.h lib/errorlogger.h
|
2010-02-23 18:38:18 +01:00
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -c -o lib/checkunusedfunctions.o lib/checkunusedfunctions.cpp
|
|
|
|
|
2010-10-08 19:43:41 +02:00
|
|
|
lib/cppcheck.o: lib/cppcheck.cpp lib/cppcheck.h lib/settings.h lib/errorlogger.h lib/checkunusedfunctions.h lib/check.h lib/token.h lib/tokenize.h lib/preprocessor.h lib/filelister.h lib/path.h lib/timer.h
|
2010-02-23 18:38:18 +01:00
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -c -o lib/cppcheck.o lib/cppcheck.cpp
|
|
|
|
|
2010-10-29 22:11:41 +02:00
|
|
|
lib/errorlogger.o: lib/errorlogger.cpp lib/errorlogger.h lib/path.h
|
2010-02-23 18:38:18 +01:00
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -c -o lib/errorlogger.o lib/errorlogger.cpp
|
|
|
|
|
|
|
|
lib/executionpath.o: lib/executionpath.cpp lib/executionpath.h lib/token.h
|
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -c -o lib/executionpath.o lib/executionpath.cpp
|
|
|
|
|
2010-04-05 19:33:28 +02:00
|
|
|
lib/filelister.o: lib/filelister.cpp lib/filelister.h lib/filelister_win32.h lib/filelister_unix.h
|
2010-02-23 18:38:18 +01:00
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -c -o lib/filelister.o lib/filelister.cpp
|
|
|
|
|
2010-02-28 23:50:00 +01:00
|
|
|
lib/filelister_unix.o: lib/filelister_unix.cpp lib/filelister.h lib/filelister_unix.h
|
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -c -o lib/filelister_unix.o lib/filelister_unix.cpp
|
|
|
|
|
2010-07-27 15:25:03 +02:00
|
|
|
lib/filelister_win32.o: lib/filelister_win32.cpp lib/filelister.h lib/filelister_win32.h lib/path.h
|
2010-02-28 23:50:00 +01:00
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -c -o lib/filelister_win32.o lib/filelister_win32.cpp
|
|
|
|
|
2010-10-08 19:43:41 +02:00
|
|
|
lib/mathlib.o: lib/mathlib.cpp lib/mathlib.h lib/tokenize.h
|
2010-02-23 18:38:18 +01:00
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -c -o lib/mathlib.o lib/mathlib.cpp
|
|
|
|
|
2010-07-17 16:38:36 +02:00
|
|
|
lib/path.o: lib/path.cpp lib/path.h
|
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -c -o lib/path.o lib/path.cpp
|
|
|
|
|
2010-10-29 22:11:41 +02:00
|
|
|
lib/preprocessor.o: lib/preprocessor.cpp lib/preprocessor.h lib/tokenize.h lib/token.h lib/path.h lib/errorlogger.h lib/settings.h
|
2010-02-23 18:38:18 +01:00
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -c -o lib/preprocessor.o lib/preprocessor.cpp
|
|
|
|
|
|
|
|
lib/settings.o: lib/settings.cpp lib/settings.h
|
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -c -o lib/settings.o lib/settings.cpp
|
|
|
|
|
2010-11-13 07:31:56 +01:00
|
|
|
lib/symboldatabase.o: lib/symboldatabase.cpp lib/symboldatabase.h lib/tokenize.h lib/token.h lib/settings.h lib/errorlogger.h lib/check.h
|
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -c -o lib/symboldatabase.o lib/symboldatabase.cpp
|
|
|
|
|
2010-08-31 22:22:48 +02:00
|
|
|
lib/timer.o: lib/timer.cpp lib/timer.h
|
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -c -o lib/timer.o lib/timer.cpp
|
|
|
|
|
2010-10-08 19:43:41 +02:00
|
|
|
lib/token.o: lib/token.cpp lib/token.h lib/errorlogger.h lib/check.h lib/tokenize.h lib/settings.h
|
2010-02-23 18:38:18 +01:00
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -c -o lib/token.o lib/token.cpp
|
|
|
|
|
2010-11-29 19:55:04 +01:00
|
|
|
lib/tokenize.o: lib/tokenize.cpp lib/tokenize.h lib/token.h lib/filelister.h lib/mathlib.h lib/settings.h lib/errorlogger.h lib/check.h lib/path.h lib/symboldatabase.h
|
2010-02-23 18:38:18 +01:00
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -c -o lib/tokenize.o lib/tokenize.cpp
|
|
|
|
|
2010-10-08 19:43:41 +02:00
|
|
|
cli/cmdlineparser.o: cli/cmdlineparser.cpp lib/cppcheck.h lib/settings.h lib/errorlogger.h lib/checkunusedfunctions.h lib/check.h lib/token.h lib/tokenize.h lib/timer.h cli/cmdlineparser.h
|
2010-09-05 10:47:31 +02:00
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -c -o cli/cmdlineparser.o cli/cmdlineparser.cpp
|
|
|
|
|
2010-10-08 19:43:41 +02:00
|
|
|
cli/cppcheckexecutor.o: cli/cppcheckexecutor.cpp cli/cppcheckexecutor.h lib/errorlogger.h lib/settings.h lib/cppcheck.h lib/checkunusedfunctions.h lib/check.h lib/token.h lib/tokenize.h cli/threadexecutor.h cli/cmdlineparser.h lib/filelister.h
|
2010-02-23 18:38:18 +01:00
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -c -o cli/cppcheckexecutor.o cli/cppcheckexecutor.cpp
|
|
|
|
|
|
|
|
cli/main.o: cli/main.cpp cli/cppcheckexecutor.h lib/errorlogger.h lib/settings.h
|
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -c -o cli/main.o cli/main.cpp
|
|
|
|
|
2010-10-08 19:43:41 +02:00
|
|
|
cli/threadexecutor.o: cli/threadexecutor.cpp cli/threadexecutor.h lib/settings.h lib/errorlogger.h lib/cppcheck.h lib/checkunusedfunctions.h lib/check.h lib/token.h lib/tokenize.h
|
2010-02-23 18:38:18 +01:00
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -c -o cli/threadexecutor.o cli/threadexecutor.cpp
|
|
|
|
|
2010-09-26 05:29:23 +02:00
|
|
|
test/options.o: test/options.cpp test/options.h
|
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -Icli -c -o test/options.o test/options.cpp
|
|
|
|
|
2010-10-08 19:43:41 +02:00
|
|
|
test/testautovariables.o: test/testautovariables.cpp lib/tokenize.h lib/checkautovariables.h lib/check.h lib/token.h lib/settings.h lib/errorlogger.h test/testsuite.h test/redirect.h
|
2010-06-17 23:42:01 +02:00
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -Icli -c -o test/testautovariables.o test/testautovariables.cpp
|
2010-02-23 18:38:18 +01:00
|
|
|
|
2010-11-29 19:55:04 +01:00
|
|
|
test/testbufferoverrun.o: test/testbufferoverrun.cpp lib/tokenize.h lib/checkbufferoverrun.h lib/check.h lib/token.h lib/settings.h lib/errorlogger.h lib/mathlib.h test/testsuite.h test/redirect.h
|
2010-06-17 23:42:01 +02:00
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -Icli -c -o test/testbufferoverrun.o test/testbufferoverrun.cpp
|
2010-02-23 18:38:18 +01:00
|
|
|
|
2010-10-08 19:43:41 +02:00
|
|
|
test/testcharvar.o: test/testcharvar.cpp lib/tokenize.h lib/checkother.h lib/check.h lib/token.h lib/settings.h lib/errorlogger.h test/testsuite.h test/redirect.h
|
2010-06-17 23:42:01 +02:00
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -Icli -c -o test/testcharvar.o test/testcharvar.cpp
|
2010-02-23 18:38:18 +01:00
|
|
|
|
2010-11-13 07:31:56 +01:00
|
|
|
test/testclass.o: test/testclass.cpp lib/tokenize.h lib/checkclass.h lib/check.h lib/token.h lib/settings.h lib/errorlogger.h lib/symboldatabase.h test/testsuite.h test/redirect.h
|
2010-06-17 23:42:01 +02:00
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -Icli -c -o test/testclass.o test/testclass.cpp
|
2010-02-23 18:38:18 +01:00
|
|
|
|
2010-10-03 17:10:13 +02:00
|
|
|
test/testcmdlineparser.o: test/testcmdlineparser.cpp test/testsuite.h lib/errorlogger.h test/redirect.h lib/settings.h
|
2010-09-06 21:45:29 +02:00
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -Icli -c -o test/testcmdlineparser.o test/testcmdlineparser.cpp
|
|
|
|
|
2010-11-13 07:31:56 +01:00
|
|
|
test/testconstructors.o: test/testconstructors.cpp lib/tokenize.h lib/checkclass.h lib/check.h lib/token.h lib/settings.h lib/errorlogger.h lib/symboldatabase.h test/testsuite.h test/redirect.h
|
2010-06-17 23:42:01 +02:00
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -Icli -c -o test/testconstructors.o test/testconstructors.cpp
|
2010-02-23 18:38:18 +01:00
|
|
|
|
2010-10-08 19:43:41 +02:00
|
|
|
test/testcppcheck.o: test/testcppcheck.cpp lib/cppcheck.h lib/settings.h lib/errorlogger.h lib/checkunusedfunctions.h lib/check.h lib/token.h lib/tokenize.h test/testsuite.h test/redirect.h lib/path.h test/tinyxml/tinyxml.h test/tinyxml/tinystr.h
|
2010-06-17 23:42:01 +02:00
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -Icli -c -o test/testcppcheck.o test/testcppcheck.cpp
|
2010-02-23 18:38:18 +01:00
|
|
|
|
2010-10-08 19:43:41 +02:00
|
|
|
test/testdivision.o: test/testdivision.cpp lib/tokenize.h lib/checkother.h lib/check.h lib/token.h lib/settings.h lib/errorlogger.h test/testsuite.h test/redirect.h
|
2010-06-17 23:42:01 +02:00
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -Icli -c -o test/testdivision.o test/testdivision.cpp
|
2010-02-23 18:38:18 +01:00
|
|
|
|
2010-12-05 22:06:36 +01:00
|
|
|
test/testerrorlogger.o: test/testerrorlogger.cpp test/testsuite.h lib/errorlogger.h test/redirect.h
|
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -Icli -c -o test/testerrorlogger.o test/testerrorlogger.cpp
|
|
|
|
|
2010-10-08 19:43:41 +02:00
|
|
|
test/testexceptionsafety.o: test/testexceptionsafety.cpp lib/tokenize.h lib/checkexceptionsafety.h lib/check.h lib/token.h lib/settings.h lib/errorlogger.h test/testsuite.h test/redirect.h
|
2010-06-17 23:42:01 +02:00
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -Icli -c -o test/testexceptionsafety.o test/testexceptionsafety.cpp
|
2010-02-23 18:38:18 +01:00
|
|
|
|
2010-10-08 19:43:41 +02:00
|
|
|
test/testincompletestatement.o: test/testincompletestatement.cpp test/testsuite.h lib/errorlogger.h test/redirect.h lib/tokenize.h lib/checkother.h lib/check.h lib/token.h lib/settings.h
|
2010-06-17 23:42:01 +02:00
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -Icli -c -o test/testincompletestatement.o test/testincompletestatement.cpp
|
2010-02-23 18:38:18 +01:00
|
|
|
|
2010-10-03 17:10:13 +02:00
|
|
|
test/testmathlib.o: test/testmathlib.cpp lib/mathlib.h test/testsuite.h lib/errorlogger.h test/redirect.h
|
2010-06-17 23:42:01 +02:00
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -Icli -c -o test/testmathlib.o test/testmathlib.cpp
|
2010-02-23 18:38:18 +01:00
|
|
|
|
2010-11-29 19:55:04 +01:00
|
|
|
test/testmemleak.o: test/testmemleak.cpp lib/tokenize.h lib/checkmemoryleak.h lib/check.h lib/token.h lib/settings.h lib/errorlogger.h lib/symboldatabase.h test/testsuite.h test/redirect.h
|
2010-06-17 23:42:01 +02:00
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -Icli -c -o test/testmemleak.o test/testmemleak.cpp
|
2010-02-23 18:38:18 +01:00
|
|
|
|
2010-10-31 11:51:25 +01:00
|
|
|
test/testnullpointer.o: test/testnullpointer.cpp lib/tokenize.h lib/checknullpointer.h lib/check.h lib/token.h lib/settings.h lib/errorlogger.h test/testsuite.h test/redirect.h
|
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -Icli -c -o test/testnullpointer.o test/testnullpointer.cpp
|
|
|
|
|
2010-10-08 19:43:41 +02:00
|
|
|
test/testobsoletefunctions.o: test/testobsoletefunctions.cpp lib/tokenize.h lib/checkobsoletefunctions.h lib/check.h lib/token.h lib/settings.h lib/errorlogger.h test/testsuite.h test/redirect.h
|
2010-08-14 20:13:46 +02:00
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -Icli -c -o test/testobsoletefunctions.o test/testobsoletefunctions.cpp
|
|
|
|
|
2010-10-03 17:10:13 +02:00
|
|
|
test/testoptions.o: test/testoptions.cpp test/options.h test/testsuite.h lib/errorlogger.h test/redirect.h
|
2010-09-26 05:29:23 +02:00
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -Icli -c -o test/testoptions.o test/testoptions.cpp
|
|
|
|
|
2010-10-08 19:43:41 +02:00
|
|
|
test/testother.o: test/testother.cpp lib/tokenize.h lib/checkother.h lib/check.h lib/token.h lib/settings.h lib/errorlogger.h test/testsuite.h test/redirect.h
|
2010-06-17 23:42:01 +02:00
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -Icli -c -o test/testother.o test/testother.cpp
|
2010-02-23 18:38:18 +01:00
|
|
|
|
2010-10-29 22:11:41 +02:00
|
|
|
test/testpath.o: test/testpath.cpp test/testsuite.h lib/errorlogger.h test/redirect.h lib/path.h
|
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -Icli -c -o test/testpath.o test/testpath.cpp
|
|
|
|
|
2010-10-16 23:57:25 +02:00
|
|
|
test/testpostfixoperator.o: test/testpostfixoperator.cpp lib/tokenize.h lib/checkpostfixoperator.h lib/check.h lib/token.h lib/settings.h lib/errorlogger.h test/testsuite.h test/redirect.h
|
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -Icli -c -o test/testpostfixoperator.o test/testpostfixoperator.cpp
|
|
|
|
|
2010-10-08 19:43:41 +02:00
|
|
|
test/testpreprocessor.o: test/testpreprocessor.cpp test/testsuite.h lib/errorlogger.h test/redirect.h lib/preprocessor.h lib/tokenize.h lib/token.h lib/settings.h
|
2010-06-17 23:42:01 +02:00
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -Icli -c -o test/testpreprocessor.o test/testpreprocessor.cpp
|
2010-02-23 18:38:18 +01:00
|
|
|
|
2010-10-03 17:10:13 +02:00
|
|
|
test/testrunner.o: test/testrunner.cpp test/testsuite.h lib/errorlogger.h test/redirect.h test/options.h
|
2010-06-17 23:42:01 +02:00
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -Icli -c -o test/testrunner.o test/testrunner.cpp
|
2010-02-23 18:38:18 +01:00
|
|
|
|
2010-10-03 17:10:13 +02:00
|
|
|
test/testsettings.o: test/testsettings.cpp lib/settings.h test/testsuite.h lib/errorlogger.h test/redirect.h
|
2010-07-09 13:27:15 +02:00
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -Icli -c -o test/testsettings.o test/testsettings.cpp
|
|
|
|
|
2010-10-08 19:43:41 +02:00
|
|
|
test/testsimplifytokens.o: test/testsimplifytokens.cpp test/testsuite.h lib/errorlogger.h test/redirect.h lib/tokenize.h lib/token.h lib/settings.h
|
2010-06-17 23:42:01 +02:00
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -Icli -c -o test/testsimplifytokens.o test/testsimplifytokens.cpp
|
2010-02-23 18:38:18 +01:00
|
|
|
|
2010-10-08 19:43:41 +02:00
|
|
|
test/teststl.o: test/teststl.cpp lib/tokenize.h lib/checkstl.h lib/check.h lib/token.h lib/settings.h lib/errorlogger.h test/testsuite.h test/redirect.h
|
2010-06-17 23:42:01 +02:00
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -Icli -c -o test/teststl.o test/teststl.cpp
|
2010-02-23 18:38:18 +01:00
|
|
|
|
2010-10-03 17:10:13 +02:00
|
|
|
test/testsuite.o: test/testsuite.cpp test/testsuite.h lib/errorlogger.h test/redirect.h test/options.h
|
2010-06-17 23:42:01 +02:00
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -Icli -c -o test/testsuite.o test/testsuite.cpp
|
2010-02-23 18:38:18 +01:00
|
|
|
|
2010-10-08 19:43:41 +02:00
|
|
|
test/testthreadexecutor.o: test/testthreadexecutor.cpp lib/cppcheck.h lib/settings.h lib/errorlogger.h lib/checkunusedfunctions.h lib/check.h lib/token.h lib/tokenize.h test/testsuite.h test/redirect.h
|
2010-06-17 23:42:01 +02:00
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -Icli -c -o test/testthreadexecutor.o test/testthreadexecutor.cpp
|
2010-06-14 22:18:09 +02:00
|
|
|
|
2010-12-05 22:06:36 +01:00
|
|
|
test/testtoken.o: test/testtoken.cpp test/testsuite.h lib/errorlogger.h test/redirect.h lib/tokenize.h lib/token.h lib/settings.h
|
2010-06-17 23:42:01 +02:00
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -Icli -c -o test/testtoken.o test/testtoken.cpp
|
2010-02-23 18:38:18 +01:00
|
|
|
|
2010-10-08 19:43:41 +02:00
|
|
|
test/testtokenize.o: test/testtokenize.cpp test/testsuite.h lib/errorlogger.h test/redirect.h lib/tokenize.h lib/token.h lib/settings.h
|
2010-06-17 23:42:01 +02:00
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -Icli -c -o test/testtokenize.o test/testtokenize.cpp
|
2010-02-23 18:38:18 +01:00
|
|
|
|
2010-10-31 12:31:11 +01:00
|
|
|
test/testuninitvar.o: test/testuninitvar.cpp lib/tokenize.h lib/checkuninitvar.h lib/check.h lib/token.h lib/settings.h lib/errorlogger.h test/testsuite.h test/redirect.h
|
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -Icli -c -o test/testuninitvar.o test/testuninitvar.cpp
|
|
|
|
|
2010-10-08 19:43:41 +02:00
|
|
|
test/testunusedfunctions.o: test/testunusedfunctions.cpp lib/tokenize.h test/testsuite.h lib/errorlogger.h test/redirect.h lib/checkunusedfunctions.h lib/check.h lib/token.h lib/settings.h
|
2010-06-17 23:42:01 +02:00
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -Icli -c -o test/testunusedfunctions.o test/testunusedfunctions.cpp
|
2010-02-23 18:38:18 +01:00
|
|
|
|
2010-11-13 07:31:56 +01:00
|
|
|
test/testunusedprivfunc.o: test/testunusedprivfunc.cpp lib/tokenize.h lib/checkclass.h lib/check.h lib/token.h lib/settings.h lib/errorlogger.h lib/symboldatabase.h test/testsuite.h test/redirect.h
|
2010-06-17 23:42:01 +02:00
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -Icli -c -o test/testunusedprivfunc.o test/testunusedprivfunc.cpp
|
2010-02-23 18:38:18 +01:00
|
|
|
|
2010-10-08 19:43:41 +02:00
|
|
|
test/testunusedvar.o: test/testunusedvar.cpp test/testsuite.h lib/errorlogger.h test/redirect.h lib/tokenize.h lib/checkother.h lib/check.h lib/token.h lib/settings.h
|
2010-06-17 23:42:01 +02:00
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -Icli -c -o test/testunusedvar.o test/testunusedvar.cpp
|
2010-02-23 18:38:18 +01:00
|
|
|
|
2010-05-13 22:14:29 +02:00
|
|
|
test/tinyxml/tinystr.o: test/tinyxml/tinystr.cpp test/tinyxml/tinystr.h
|
2010-06-17 23:42:01 +02:00
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -Icli -c -o test/tinyxml/tinystr.o test/tinyxml/tinystr.cpp
|
2010-05-13 22:14:29 +02:00
|
|
|
|
|
|
|
test/tinyxml/tinyxml.o: test/tinyxml/tinyxml.cpp test/tinyxml/tinyxml.h test/tinyxml/tinystr.h
|
2010-06-17 23:42:01 +02:00
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -Icli -c -o test/tinyxml/tinyxml.o test/tinyxml/tinyxml.cpp
|
2010-05-13 22:14:29 +02:00
|
|
|
|
|
|
|
test/tinyxml/tinyxmlerror.o: test/tinyxml/tinyxmlerror.cpp test/tinyxml/tinyxml.h test/tinyxml/tinystr.h
|
2010-06-17 23:42:01 +02:00
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -Icli -c -o test/tinyxml/tinyxmlerror.o test/tinyxml/tinyxmlerror.cpp
|
2010-05-13 22:14:29 +02:00
|
|
|
|
|
|
|
test/tinyxml/tinyxmlparser.o: test/tinyxml/tinyxmlparser.cpp test/tinyxml/tinyxml.h test/tinyxml/tinystr.h
|
2010-06-17 23:42:01 +02:00
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -Icli -c -o test/tinyxml/tinyxmlparser.o test/tinyxml/tinyxmlparser.cpp
|
2010-05-13 22:14:29 +02:00
|
|
|
|