2009-10-25 12:49:06 +01:00
|
|
|
CXXFLAGS=-Wall -Wextra -pedantic -g
|
2009-03-09 18:35:43 +01:00
|
|
|
CXX=g++
|
2009-01-08 22:02:03 +01:00
|
|
|
BIN=${DESTDIR}/usr/bin
|
2009-01-06 21:12:59 +01:00
|
|
|
|
2009-11-22 15:43:55 +01:00
|
|
|
# For 'make man': sudo apt-get install xsltproc docbook-xsl docbook-xml
|
|
|
|
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
|
|
|
|
|
2009-01-06 21:12:59 +01:00
|
|
|
|
|
|
|
###### Object Files
|
|
|
|
|
2009-10-25 12:49:06 +01:00
|
|
|
LIBOBJ = lib/checkautovariables.o \
|
|
|
|
lib/checkbufferoverrun.o \
|
|
|
|
lib/checkclass.o \
|
|
|
|
lib/checkdangerousfunctions.o \
|
|
|
|
lib/checkexceptionsafety.o \
|
|
|
|
lib/checkheaders.o \
|
|
|
|
lib/checkmemoryleak.o \
|
|
|
|
lib/checkother.o \
|
|
|
|
lib/checkstl.o \
|
|
|
|
lib/checkunusedfunctions.o \
|
|
|
|
lib/cppcheck.o \
|
|
|
|
lib/errorlogger.o \
|
|
|
|
lib/filelister.o \
|
|
|
|
lib/mathlib.o \
|
|
|
|
lib/preprocessor.o \
|
|
|
|
lib/settings.o \
|
|
|
|
lib/token.o \
|
|
|
|
lib/tokenize.o
|
|
|
|
|
2009-10-25 21:25:07 +01:00
|
|
|
CLIOBJ = cli/cppcheckexecutor.o \
|
|
|
|
cli/main.o \
|
|
|
|
cli/threadexecutor.o
|
2009-01-06 21:12:59 +01:00
|
|
|
|
2009-03-21 18:38:24 +01:00
|
|
|
TESTOBJ = test/testautovariables.o \
|
|
|
|
test/testbufferoverrun.o \
|
2009-01-06 21:12:59 +01:00
|
|
|
test/testcharvar.o \
|
|
|
|
test/testclass.o \
|
|
|
|
test/testconstructors.o \
|
2009-02-05 21:06:39 +01:00
|
|
|
test/testcppcheck.o \
|
2009-01-31 19:24:48 +01:00
|
|
|
test/testdangerousfunctions.o \
|
2009-01-06 21:12:59 +01:00
|
|
|
test/testdivision.o \
|
2009-10-19 20:57:11 +02:00
|
|
|
test/testexceptionsafety.o \
|
2009-01-06 21:12:59 +01:00
|
|
|
test/testfilelister.o \
|
|
|
|
test/testincompletestatement.o \
|
2009-04-06 19:08:13 +02:00
|
|
|
test/testmathlib.o \
|
2009-01-06 21:12:59 +01:00
|
|
|
test/testmemleak.o \
|
|
|
|
test/testother.o \
|
|
|
|
test/testpreprocessor.o \
|
|
|
|
test/testredundantif.o \
|
|
|
|
test/testrunner.o \
|
|
|
|
test/testsimplifytokens.o \
|
2009-02-10 20:40:21 +01:00
|
|
|
test/teststl.o \
|
2009-01-06 21:12:59 +01:00
|
|
|
test/testsuite.o \
|
|
|
|
test/testtoken.o \
|
|
|
|
test/testtokenize.o \
|
2009-06-07 22:12:20 +02:00
|
|
|
test/testunusedfunctions.o \
|
2009-01-06 21:12:59 +01:00
|
|
|
test/testunusedprivfunc.o \
|
2009-10-25 12:49:06 +01:00
|
|
|
test/testunusedvar.o
|
2009-01-06 21:12:59 +01:00
|
|
|
|
|
|
|
|
|
|
|
###### Targets
|
|
|
|
|
2009-10-25 12:49:06 +01:00
|
|
|
cppcheck: $(LIBOBJ) $(CLIOBJ)
|
|
|
|
$(CXX) $(CXXFLAGS) -o cppcheck $(CLIOBJ) $(LIBOBJ) $(LDFLAGS)
|
2009-01-06 21:12:59 +01:00
|
|
|
|
2009-01-11 07:17:54 +01:00
|
|
|
all: cppcheck testrunner tools
|
|
|
|
|
2009-10-25 12:49:06 +01:00
|
|
|
testrunner: $(TESTOBJ) $(LIBOBJ)
|
|
|
|
$(CXX) $(CXXFLAGS) -o testrunner $(TESTOBJ) $(LIBOBJ) $(LDFLAGS)
|
2009-01-06 21:12:59 +01:00
|
|
|
|
2009-01-10 22:13:26 +01:00
|
|
|
test: all
|
|
|
|
./testrunner
|
2008-11-23 21:12:43 +01:00
|
|
|
|
2009-07-12 19:18:38 +02:00
|
|
|
tools: tools/dmake
|
2009-01-09 20:28:55 +01:00
|
|
|
|
2009-10-25 12:49:06 +01:00
|
|
|
tools/dmake: tools/dmake.cpp lib/filelister.cpp lib/filelister.h
|
|
|
|
$(CXX) $(CXXFLAGS) -o tools/dmake tools/dmake.cpp lib/filelister.cpp $(LDFLAGS)
|
2009-01-09 20:28:55 +01:00
|
|
|
|
2008-11-13 21:48:25 +01:00
|
|
|
clean:
|
2009-10-25 19:29:10 +01:00
|
|
|
rm -f lib/*.o cli/*.o test/*.o testrunner cppcheck tools/dmake
|
2009-01-06 21:12:59 +01:00
|
|
|
|
2009-11-22 15:43:55 +01:00
|
|
|
man: $(MAN_SOURCE)
|
|
|
|
$(XP) $(DB2MAN) $(MAN_SOURCE)
|
|
|
|
|
2008-11-13 21:48:25 +01:00
|
|
|
install: cppcheck
|
|
|
|
install -d ${BIN}
|
|
|
|
install cppcheck ${BIN}
|
2008-11-23 21:12:43 +01:00
|
|
|
|
2009-01-06 21:12:59 +01:00
|
|
|
|
|
|
|
###### Build
|
|
|
|
|
2009-10-25 12:49:06 +01:00
|
|
|
lib/checkautovariables.o: lib/checkautovariables.cpp lib/checkautovariables.h lib/check.h lib/token.h lib/tokenize.h lib/classinfo.h lib/settings.h lib/errorlogger.h
|
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -c -o lib/checkautovariables.o lib/checkautovariables.cpp
|
2009-03-19 20:55:50 +01:00
|
|
|
|
2009-10-25 12:49:06 +01:00
|
|
|
lib/checkbufferoverrun.o: lib/checkbufferoverrun.cpp lib/checkbufferoverrun.h lib/check.h lib/token.h lib/tokenize.h lib/classinfo.h lib/settings.h lib/errorlogger.h lib/mathlib.h
|
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -c -o lib/checkbufferoverrun.o lib/checkbufferoverrun.cpp
|
2009-01-06 21:12:59 +01:00
|
|
|
|
2009-10-25 12:49:06 +01:00
|
|
|
lib/checkclass.o: lib/checkclass.cpp lib/checkclass.h lib/check.h lib/token.h lib/tokenize.h lib/classinfo.h lib/settings.h lib/errorlogger.h
|
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -c -o lib/checkclass.o lib/checkclass.cpp
|
2009-01-06 21:12:59 +01:00
|
|
|
|
2009-10-25 12:49:06 +01:00
|
|
|
lib/checkdangerousfunctions.o: lib/checkdangerousfunctions.cpp lib/checkdangerousfunctions.h lib/check.h lib/token.h lib/tokenize.h lib/classinfo.h lib/settings.h lib/errorlogger.h
|
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -c -o lib/checkdangerousfunctions.o lib/checkdangerousfunctions.cpp
|
2009-01-31 19:24:48 +01:00
|
|
|
|
2009-10-25 12:49:06 +01:00
|
|
|
lib/checkexceptionsafety.o: lib/checkexceptionsafety.cpp lib/checkexceptionsafety.h lib/check.h lib/token.h lib/tokenize.h lib/classinfo.h lib/settings.h lib/errorlogger.h
|
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -c -o lib/checkexceptionsafety.o lib/checkexceptionsafety.cpp
|
2009-10-19 20:57:11 +02:00
|
|
|
|
2009-10-25 12:49:06 +01:00
|
|
|
lib/checkheaders.o: lib/checkheaders.cpp lib/checkheaders.h lib/tokenize.h lib/classinfo.h lib/token.h lib/errorlogger.h lib/settings.h lib/filelister.h
|
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -c -o lib/checkheaders.o lib/checkheaders.cpp
|
2009-01-06 21:12:59 +01:00
|
|
|
|
2009-10-25 12:49:06 +01:00
|
|
|
lib/checkmemoryleak.o: lib/checkmemoryleak.cpp lib/checkmemoryleak.h lib/check.h lib/token.h lib/tokenize.h lib/classinfo.h lib/settings.h lib/errorlogger.h lib/mathlib.h
|
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -c -o lib/checkmemoryleak.o lib/checkmemoryleak.cpp
|
2009-01-06 21:12:59 +01:00
|
|
|
|
2009-10-25 12:49:06 +01:00
|
|
|
lib/checkother.o: lib/checkother.cpp lib/checkother.h lib/check.h lib/token.h lib/tokenize.h lib/classinfo.h lib/settings.h lib/errorlogger.h lib/mathlib.h
|
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -c -o lib/checkother.o lib/checkother.cpp
|
2009-01-06 21:12:59 +01:00
|
|
|
|
2009-10-25 12:49:06 +01:00
|
|
|
lib/checkstl.o: lib/checkstl.cpp lib/checkstl.h lib/check.h lib/token.h lib/tokenize.h lib/classinfo.h lib/settings.h lib/errorlogger.h
|
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -c -o lib/checkstl.o lib/checkstl.cpp
|
2009-02-10 20:40:21 +01:00
|
|
|
|
2009-10-25 12:49:06 +01:00
|
|
|
lib/checkunusedfunctions.o: lib/checkunusedfunctions.cpp lib/checkunusedfunctions.h lib/tokenize.h lib/classinfo.h lib/token.h lib/errorlogger.h lib/settings.h
|
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -c -o lib/checkunusedfunctions.o lib/checkunusedfunctions.cpp
|
2009-06-07 22:12:20 +02:00
|
|
|
|
2009-10-25 12:49:06 +01:00
|
|
|
lib/cppcheck.o: lib/cppcheck.cpp lib/cppcheck.h lib/settings.h lib/errorlogger.h lib/checkunusedfunctions.h lib/tokenize.h lib/classinfo.h lib/token.h lib/preprocessor.h lib/filelister.h lib/check.h
|
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -c -o lib/cppcheck.o lib/cppcheck.cpp
|
2009-01-06 21:12:59 +01:00
|
|
|
|
2009-10-25 12:49:06 +01:00
|
|
|
lib/errorlogger.o: lib/errorlogger.cpp lib/errorlogger.h lib/settings.h lib/tokenize.h lib/classinfo.h lib/token.h
|
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -c -o lib/errorlogger.o lib/errorlogger.cpp
|
2009-01-06 21:12:59 +01:00
|
|
|
|
2009-10-25 12:49:06 +01:00
|
|
|
lib/filelister.o: lib/filelister.cpp lib/filelister.h
|
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -c -o lib/filelister.o lib/filelister.cpp
|
2009-01-06 21:12:59 +01:00
|
|
|
|
2009-10-25 12:49:06 +01:00
|
|
|
lib/mathlib.o: lib/mathlib.cpp lib/mathlib.h lib/token.h
|
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -c -o lib/mathlib.o lib/mathlib.cpp
|
2009-01-06 21:12:59 +01:00
|
|
|
|
2009-10-25 12:49:06 +01:00
|
|
|
lib/preprocessor.o: lib/preprocessor.cpp lib/preprocessor.h lib/errorlogger.h lib/settings.h lib/tokenize.h lib/classinfo.h lib/token.h lib/filelister.h
|
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -c -o lib/preprocessor.o lib/preprocessor.cpp
|
2009-01-06 21:12:59 +01:00
|
|
|
|
2009-10-25 12:49:06 +01:00
|
|
|
lib/settings.o: lib/settings.cpp lib/settings.h
|
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -c -o lib/settings.o lib/settings.cpp
|
2009-04-06 18:27:14 +02:00
|
|
|
|
2009-10-25 12:49:06 +01:00
|
|
|
lib/token.o: lib/token.cpp lib/token.h
|
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -c -o lib/token.o lib/token.cpp
|
2009-01-06 21:12:59 +01:00
|
|
|
|
2009-10-25 12:49:06 +01:00
|
|
|
lib/tokenize.o: lib/tokenize.cpp lib/tokenize.h lib/classinfo.h lib/token.h lib/filelister.h lib/mathlib.h lib/settings.h lib/errorlogger.h lib/check.h
|
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -c -o lib/tokenize.o lib/tokenize.cpp
|
2009-01-06 21:12:59 +01:00
|
|
|
|
2009-10-26 22:36:36 +01:00
|
|
|
cli/cppcheckexecutor.o: cli/cppcheckexecutor.cpp cli/cppcheckexecutor.h lib/errorlogger.h lib/settings.h lib/cppcheck.h lib/checkunusedfunctions.h lib/tokenize.h lib/classinfo.h lib/token.h cli/threadexecutor.h
|
2009-10-25 21:25:07 +01:00
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -c -o cli/cppcheckexecutor.o cli/cppcheckexecutor.cpp
|
|
|
|
|
2009-10-26 22:36:36 +01:00
|
|
|
cli/main.o: cli/main.cpp cli/cppcheckexecutor.h lib/errorlogger.h lib/settings.h
|
2009-10-25 12:49:06 +01:00
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -c -o cli/main.o cli/main.cpp
|
2009-01-06 21:12:59 +01:00
|
|
|
|
2009-10-26 22:36:36 +01:00
|
|
|
cli/threadexecutor.o: cli/threadexecutor.cpp cli/threadexecutor.h lib/settings.h lib/errorlogger.h lib/cppcheck.h lib/checkunusedfunctions.h lib/tokenize.h lib/classinfo.h lib/token.h
|
2009-10-25 21:25:07 +01:00
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -c -o cli/threadexecutor.o cli/threadexecutor.cpp
|
|
|
|
|
2009-10-26 22:36:36 +01:00
|
|
|
test/testautovariables.o: test/testautovariables.cpp lib/tokenize.h lib/classinfo.h lib/token.h lib/checkautovariables.h lib/check.h lib/settings.h lib/errorlogger.h test/testsuite.h
|
2009-10-25 12:49:06 +01:00
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -c -o test/testautovariables.o test/testautovariables.cpp
|
2009-03-21 18:38:24 +01:00
|
|
|
|
2009-10-26 22:36:36 +01:00
|
|
|
test/testbufferoverrun.o: test/testbufferoverrun.cpp lib/tokenize.h lib/classinfo.h lib/token.h lib/checkbufferoverrun.h lib/check.h lib/settings.h lib/errorlogger.h test/testsuite.h
|
2009-10-25 12:49:06 +01:00
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -c -o test/testbufferoverrun.o test/testbufferoverrun.cpp
|
2009-01-06 21:12:59 +01:00
|
|
|
|
2009-10-26 22:36:36 +01:00
|
|
|
test/testcharvar.o: test/testcharvar.cpp lib/tokenize.h lib/classinfo.h lib/token.h lib/checkother.h lib/check.h lib/settings.h lib/errorlogger.h test/testsuite.h
|
2009-10-25 12:49:06 +01:00
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -c -o test/testcharvar.o test/testcharvar.cpp
|
2009-01-06 21:12:59 +01:00
|
|
|
|
2009-10-26 22:36:36 +01:00
|
|
|
test/testclass.o: test/testclass.cpp lib/tokenize.h lib/classinfo.h lib/token.h lib/checkclass.h lib/check.h lib/settings.h lib/errorlogger.h test/testsuite.h
|
2009-10-25 12:49:06 +01:00
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -c -o test/testclass.o test/testclass.cpp
|
2009-01-06 21:12:59 +01:00
|
|
|
|
2009-10-26 22:36:36 +01:00
|
|
|
test/testconstructors.o: test/testconstructors.cpp lib/tokenize.h lib/classinfo.h lib/token.h lib/checkclass.h lib/check.h lib/settings.h lib/errorlogger.h test/testsuite.h
|
2009-10-25 12:49:06 +01:00
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -c -o test/testconstructors.o test/testconstructors.cpp
|
2009-01-06 21:12:59 +01:00
|
|
|
|
2009-10-26 22:36:36 +01:00
|
|
|
test/testcppcheck.o: test/testcppcheck.cpp lib/cppcheck.h lib/settings.h lib/errorlogger.h lib/checkunusedfunctions.h lib/tokenize.h lib/classinfo.h lib/token.h test/testsuite.h
|
2009-10-25 12:49:06 +01:00
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -c -o test/testcppcheck.o test/testcppcheck.cpp
|
2009-02-05 21:06:39 +01:00
|
|
|
|
2009-10-26 22:36:36 +01:00
|
|
|
test/testdangerousfunctions.o: test/testdangerousfunctions.cpp lib/tokenize.h lib/classinfo.h lib/token.h lib/checkdangerousfunctions.h lib/check.h lib/settings.h lib/errorlogger.h test/testsuite.h
|
2009-10-25 12:49:06 +01:00
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -c -o test/testdangerousfunctions.o test/testdangerousfunctions.cpp
|
2009-01-31 19:24:48 +01:00
|
|
|
|
2009-10-26 22:36:36 +01:00
|
|
|
test/testdivision.o: test/testdivision.cpp lib/tokenize.h lib/classinfo.h lib/token.h lib/checkother.h lib/check.h lib/settings.h lib/errorlogger.h test/testsuite.h
|
2009-10-25 12:49:06 +01:00
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -c -o test/testdivision.o test/testdivision.cpp
|
2009-01-06 21:12:59 +01:00
|
|
|
|
2009-10-26 22:36:36 +01:00
|
|
|
test/testexceptionsafety.o: test/testexceptionsafety.cpp lib/tokenize.h lib/classinfo.h lib/token.h lib/checkexceptionsafety.h lib/check.h lib/settings.h lib/errorlogger.h test/testsuite.h
|
2009-10-25 12:49:06 +01:00
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -c -o test/testexceptionsafety.o test/testexceptionsafety.cpp
|
2009-10-19 20:57:11 +02:00
|
|
|
|
2009-10-26 22:36:36 +01:00
|
|
|
test/testfilelister.o: test/testfilelister.cpp test/testsuite.h lib/errorlogger.h lib/settings.h lib/filelister.h
|
2009-10-25 12:49:06 +01:00
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -c -o test/testfilelister.o test/testfilelister.cpp
|
2009-01-06 21:12:59 +01:00
|
|
|
|
2009-10-26 22:36:36 +01:00
|
|
|
test/testincompletestatement.o: test/testincompletestatement.cpp test/testsuite.h lib/errorlogger.h lib/settings.h lib/tokenize.h lib/classinfo.h lib/token.h lib/checkother.h lib/check.h
|
2009-10-25 12:49:06 +01:00
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -c -o test/testincompletestatement.o test/testincompletestatement.cpp
|
2009-01-06 21:12:59 +01:00
|
|
|
|
2009-10-26 22:36:36 +01:00
|
|
|
test/testmathlib.o: test/testmathlib.cpp lib/mathlib.h lib/token.h test/testsuite.h lib/errorlogger.h lib/settings.h
|
2009-10-25 12:49:06 +01:00
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -c -o test/testmathlib.o test/testmathlib.cpp
|
2009-04-06 19:08:13 +02:00
|
|
|
|
2009-10-26 22:36:36 +01:00
|
|
|
test/testmemleak.o: test/testmemleak.cpp lib/tokenize.h lib/classinfo.h lib/token.h lib/checkmemoryleak.h lib/check.h lib/settings.h lib/errorlogger.h test/testsuite.h
|
2009-10-25 12:49:06 +01:00
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -c -o test/testmemleak.o test/testmemleak.cpp
|
2009-01-06 21:12:59 +01:00
|
|
|
|
2009-10-26 22:36:36 +01:00
|
|
|
test/testother.o: test/testother.cpp lib/tokenize.h lib/classinfo.h lib/token.h lib/checkother.h lib/check.h lib/settings.h lib/errorlogger.h test/testsuite.h
|
2009-10-25 12:49:06 +01:00
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -c -o test/testother.o test/testother.cpp
|
2009-01-06 21:12:59 +01:00
|
|
|
|
2009-10-26 22:36:36 +01:00
|
|
|
test/testpreprocessor.o: test/testpreprocessor.cpp test/testsuite.h lib/errorlogger.h lib/settings.h lib/preprocessor.h lib/tokenize.h lib/classinfo.h lib/token.h
|
2009-10-25 12:49:06 +01:00
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -c -o test/testpreprocessor.o test/testpreprocessor.cpp
|
2009-01-06 21:12:59 +01:00
|
|
|
|
2009-10-26 22:36:36 +01:00
|
|
|
test/testredundantif.o: test/testredundantif.cpp lib/tokenize.h lib/classinfo.h lib/token.h lib/checkother.h lib/check.h lib/settings.h lib/errorlogger.h test/testsuite.h
|
2009-10-25 12:49:06 +01:00
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -c -o test/testredundantif.o test/testredundantif.cpp
|
2009-01-06 21:12:59 +01:00
|
|
|
|
2009-10-26 22:36:36 +01:00
|
|
|
test/testrunner.o: test/testrunner.cpp test/testsuite.h lib/errorlogger.h lib/settings.h
|
2009-10-25 12:49:06 +01:00
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -c -o test/testrunner.o test/testrunner.cpp
|
2009-01-06 21:12:59 +01:00
|
|
|
|
2009-10-26 22:36:36 +01:00
|
|
|
test/testsimplifytokens.o: test/testsimplifytokens.cpp test/testsuite.h lib/errorlogger.h lib/settings.h lib/tokenize.h lib/classinfo.h lib/token.h
|
2009-10-25 12:49:06 +01:00
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -c -o test/testsimplifytokens.o test/testsimplifytokens.cpp
|
2009-01-06 21:12:59 +01:00
|
|
|
|
2009-10-26 22:36:36 +01:00
|
|
|
test/teststl.o: test/teststl.cpp lib/tokenize.h lib/classinfo.h lib/token.h lib/checkstl.h lib/check.h lib/settings.h lib/errorlogger.h test/testsuite.h
|
2009-10-25 12:49:06 +01:00
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -c -o test/teststl.o test/teststl.cpp
|
2009-02-10 20:40:21 +01:00
|
|
|
|
2009-10-26 22:36:36 +01:00
|
|
|
test/testsuite.o: test/testsuite.cpp test/testsuite.h lib/errorlogger.h lib/settings.h
|
2009-10-25 12:49:06 +01:00
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -c -o test/testsuite.o test/testsuite.cpp
|
2009-01-06 21:12:59 +01:00
|
|
|
|
2009-10-26 22:36:36 +01:00
|
|
|
test/testtoken.o: test/testtoken.cpp test/testsuite.h lib/errorlogger.h lib/settings.h lib/tokenize.h lib/classinfo.h lib/token.h
|
2009-10-25 12:49:06 +01:00
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -c -o test/testtoken.o test/testtoken.cpp
|
2009-01-06 21:12:59 +01:00
|
|
|
|
2009-10-26 22:36:36 +01:00
|
|
|
test/testtokenize.o: test/testtokenize.cpp test/testsuite.h lib/errorlogger.h lib/settings.h lib/tokenize.h lib/classinfo.h lib/token.h
|
2009-10-25 12:49:06 +01:00
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -c -o test/testtokenize.o test/testtokenize.cpp
|
2009-01-06 21:12:59 +01:00
|
|
|
|
2009-10-26 22:36:36 +01:00
|
|
|
test/testunusedfunctions.o: test/testunusedfunctions.cpp lib/tokenize.h lib/classinfo.h lib/token.h test/testsuite.h lib/errorlogger.h lib/settings.h lib/checkunusedfunctions.h
|
2009-10-25 12:49:06 +01:00
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -c -o test/testunusedfunctions.o test/testunusedfunctions.cpp
|
2009-06-07 22:12:20 +02:00
|
|
|
|
2009-10-26 22:36:36 +01:00
|
|
|
test/testunusedprivfunc.o: test/testunusedprivfunc.cpp lib/tokenize.h lib/classinfo.h lib/token.h lib/checkclass.h lib/check.h lib/settings.h lib/errorlogger.h test/testsuite.h
|
2009-10-25 12:49:06 +01:00
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -c -o test/testunusedprivfunc.o test/testunusedprivfunc.cpp
|
2009-01-06 21:12:59 +01:00
|
|
|
|
2009-10-26 22:36:36 +01:00
|
|
|
test/testunusedvar.o: test/testunusedvar.cpp test/testsuite.h lib/errorlogger.h lib/settings.h lib/tokenize.h lib/classinfo.h lib/token.h lib/checkother.h lib/check.h
|
2009-10-25 12:49:06 +01:00
|
|
|
$(CXX) $(CXXFLAGS) -Ilib -c -o test/testunusedvar.o test/testunusedvar.cpp
|
2009-01-06 21:12:59 +01:00
|
|
|
|