2009-09-22 21:21:02 +02:00
|
|
|
CXXFLAGS=-Wall -Wextra -pedantic -O2 -DNDEBUG
|
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
|
|
|
|
|
|
|
|
|
|
|
###### Object Files
|
|
|
|
|
2009-03-19 20:55:50 +01:00
|
|
|
OBJECTS = src/checkautovariables.o \
|
|
|
|
src/checkbufferoverrun.o \
|
2009-01-06 21:12:59 +01:00
|
|
|
src/checkclass.o \
|
2009-01-31 19:24:48 +01:00
|
|
|
src/checkdangerousfunctions.o \
|
2009-01-06 21:12:59 +01:00
|
|
|
src/checkheaders.o \
|
|
|
|
src/checkmemoryleak.o \
|
|
|
|
src/checkother.o \
|
2009-02-10 20:40:21 +01:00
|
|
|
src/checkstl.o \
|
2009-06-07 22:12:20 +02:00
|
|
|
src/checkunusedfunctions.o \
|
2009-01-06 21:12:59 +01:00
|
|
|
src/cppcheck.o \
|
|
|
|
src/cppcheckexecutor.o \
|
2009-02-08 22:20:35 +01:00
|
|
|
src/errorlogger.o \
|
2009-01-06 21:12:59 +01:00
|
|
|
src/filelister.o \
|
|
|
|
src/main.o \
|
2009-04-06 18:27:14 +02:00
|
|
|
src/mathlib.o \
|
2009-01-06 21:12:59 +01:00
|
|
|
src/preprocessor.o \
|
|
|
|
src/settings.o \
|
2009-02-19 23:21:18 +01:00
|
|
|
src/threadexecutor.o \
|
2009-01-06 21:12:59 +01:00
|
|
|
src/token.o \
|
|
|
|
src/tokenize.o
|
|
|
|
|
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 \
|
|
|
|
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 \
|
|
|
|
test/testunusedvar.o \
|
2009-03-19 20:55:50 +01:00
|
|
|
src/checkautovariables.o \
|
2009-01-06 21:12:59 +01:00
|
|
|
src/checkbufferoverrun.o \
|
|
|
|
src/checkclass.o \
|
2009-01-31 19:24:48 +01:00
|
|
|
src/checkdangerousfunctions.o \
|
2009-01-06 21:12:59 +01:00
|
|
|
src/checkheaders.o \
|
|
|
|
src/checkmemoryleak.o \
|
|
|
|
src/checkother.o \
|
2009-02-10 20:40:21 +01:00
|
|
|
src/checkstl.o \
|
2009-06-07 22:12:20 +02:00
|
|
|
src/checkunusedfunctions.o \
|
2009-01-06 21:12:59 +01:00
|
|
|
src/cppcheck.o \
|
|
|
|
src/cppcheckexecutor.o \
|
2009-02-08 22:20:35 +01:00
|
|
|
src/errorlogger.o \
|
2009-01-06 21:12:59 +01:00
|
|
|
src/filelister.o \
|
2009-04-06 18:27:14 +02:00
|
|
|
src/mathlib.o \
|
2009-01-06 21:12:59 +01:00
|
|
|
src/preprocessor.o \
|
|
|
|
src/settings.o \
|
2009-02-19 23:21:18 +01:00
|
|
|
src/threadexecutor.o \
|
2009-01-06 21:12:59 +01:00
|
|
|
src/token.o \
|
|
|
|
src/tokenize.o
|
|
|
|
|
|
|
|
|
|
|
|
###### Targets
|
|
|
|
|
|
|
|
cppcheck: $(OBJECTS)
|
2009-03-09 18:35:43 +01:00
|
|
|
$(CXX) $(CXXFLAGS) -o cppcheck $(OBJECTS) $(LDFLAGS)
|
2009-01-06 21:12:59 +01:00
|
|
|
|
2009-01-11 07:17:54 +01:00
|
|
|
all: cppcheck testrunner tools
|
|
|
|
|
2009-01-06 21:12:59 +01:00
|
|
|
testrunner: $(TESTOBJ)
|
2009-03-09 18:35:43 +01:00
|
|
|
$(CXX) $(CXXFLAGS) -o testrunner $(TESTOBJ) $(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-01-10 08:38:11 +01:00
|
|
|
tools/dmake: tools/dmake.cpp src/filelister.cpp src/filelister.h
|
2009-03-09 18:35:43 +01:00
|
|
|
$(CXX) $(CXXFLAGS) -o tools/dmake tools/dmake.cpp src/filelister.cpp $(LDFLAGS)
|
2009-01-09 20:28:55 +01:00
|
|
|
|
2008-11-13 21:48:25 +01:00
|
|
|
clean:
|
2009-01-10 08:38:11 +01:00
|
|
|
rm -f src/*.o test/*.o testrunner cppcheck tools/dmake tools/errmsg
|
2009-01-06 21:12:59 +01:00
|
|
|
|
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-08-16 21:17:02 +02:00
|
|
|
src/checkautovariables.o: src/checkautovariables.cpp src/checkautovariables.h src/check.h src/token.h src/tokenize.h src/classinfo.h src/settings.h src/errorlogger.h
|
2009-03-19 20:55:50 +01:00
|
|
|
$(CXX) $(CXXFLAGS) -c -o src/checkautovariables.o src/checkautovariables.cpp
|
|
|
|
|
2009-08-16 21:17:02 +02:00
|
|
|
src/checkbufferoverrun.o: src/checkbufferoverrun.cpp src/checkbufferoverrun.h src/check.h src/token.h src/tokenize.h src/classinfo.h src/settings.h src/errorlogger.h src/mathlib.h
|
2009-03-09 18:35:43 +01:00
|
|
|
$(CXX) $(CXXFLAGS) -c -o src/checkbufferoverrun.o src/checkbufferoverrun.cpp
|
2009-01-06 21:12:59 +01:00
|
|
|
|
2009-08-16 21:17:02 +02:00
|
|
|
src/checkclass.o: src/checkclass.cpp src/checkclass.h src/check.h src/token.h src/tokenize.h src/classinfo.h src/settings.h src/errorlogger.h
|
2009-03-09 18:35:43 +01:00
|
|
|
$(CXX) $(CXXFLAGS) -c -o src/checkclass.o src/checkclass.cpp
|
2009-01-06 21:12:59 +01:00
|
|
|
|
2009-08-16 21:17:02 +02:00
|
|
|
src/checkdangerousfunctions.o: src/checkdangerousfunctions.cpp src/checkdangerousfunctions.h src/check.h src/token.h src/tokenize.h src/classinfo.h src/settings.h src/errorlogger.h
|
2009-03-09 18:35:43 +01:00
|
|
|
$(CXX) $(CXXFLAGS) -c -o src/checkdangerousfunctions.o src/checkdangerousfunctions.cpp
|
2009-01-31 19:24:48 +01:00
|
|
|
|
2009-08-16 21:17:02 +02:00
|
|
|
src/checkheaders.o: src/checkheaders.cpp src/checkheaders.h src/tokenize.h src/classinfo.h src/token.h src/errorlogger.h src/settings.h src/filelister.h
|
2009-03-09 18:35:43 +01:00
|
|
|
$(CXX) $(CXXFLAGS) -c -o src/checkheaders.o src/checkheaders.cpp
|
2009-01-06 21:12:59 +01:00
|
|
|
|
2009-08-16 21:17:02 +02:00
|
|
|
src/checkmemoryleak.o: src/checkmemoryleak.cpp src/checkmemoryleak.h src/check.h src/token.h src/tokenize.h src/classinfo.h src/settings.h src/errorlogger.h src/mathlib.h
|
2009-03-09 18:35:43 +01:00
|
|
|
$(CXX) $(CXXFLAGS) -c -o src/checkmemoryleak.o src/checkmemoryleak.cpp
|
2009-01-06 21:12:59 +01:00
|
|
|
|
2009-08-16 21:17:02 +02:00
|
|
|
src/checkother.o: src/checkother.cpp src/checkother.h src/check.h src/token.h src/tokenize.h src/classinfo.h src/settings.h src/errorlogger.h src/mathlib.h
|
2009-03-09 18:35:43 +01:00
|
|
|
$(CXX) $(CXXFLAGS) -c -o src/checkother.o src/checkother.cpp
|
2009-01-06 21:12:59 +01:00
|
|
|
|
2009-08-16 21:17:02 +02:00
|
|
|
src/checkstl.o: src/checkstl.cpp src/checkstl.h src/check.h src/token.h src/tokenize.h src/classinfo.h src/settings.h src/errorlogger.h
|
2009-03-09 18:35:43 +01:00
|
|
|
$(CXX) $(CXXFLAGS) -c -o src/checkstl.o src/checkstl.cpp
|
2009-02-10 20:40:21 +01:00
|
|
|
|
2009-08-16 21:17:02 +02:00
|
|
|
src/checkunusedfunctions.o: src/checkunusedfunctions.cpp src/checkunusedfunctions.h src/tokenize.h src/classinfo.h src/token.h src/errorlogger.h src/settings.h
|
2009-06-07 22:12:20 +02:00
|
|
|
$(CXX) $(CXXFLAGS) -c -o src/checkunusedfunctions.o src/checkunusedfunctions.cpp
|
|
|
|
|
2009-08-16 21:17:02 +02:00
|
|
|
src/cppcheck.o: src/cppcheck.cpp src/cppcheck.h src/settings.h src/errorlogger.h src/checkunusedfunctions.h src/tokenize.h src/classinfo.h src/token.h src/preprocessor.h src/filelister.h src/check.h
|
2009-03-09 18:35:43 +01:00
|
|
|
$(CXX) $(CXXFLAGS) -c -o src/cppcheck.o src/cppcheck.cpp
|
2009-01-06 21:12:59 +01:00
|
|
|
|
2009-08-16 21:17:02 +02:00
|
|
|
src/cppcheckexecutor.o: src/cppcheckexecutor.cpp src/cppcheckexecutor.h src/errorlogger.h src/settings.h src/cppcheck.h src/checkunusedfunctions.h src/tokenize.h src/classinfo.h src/token.h src/threadexecutor.h
|
2009-03-09 18:35:43 +01:00
|
|
|
$(CXX) $(CXXFLAGS) -c -o src/cppcheckexecutor.o src/cppcheckexecutor.cpp
|
2009-01-06 21:12:59 +01:00
|
|
|
|
2009-08-16 21:17:02 +02:00
|
|
|
src/errorlogger.o: src/errorlogger.cpp src/errorlogger.h src/settings.h src/tokenize.h src/classinfo.h src/token.h
|
2009-03-09 18:35:43 +01:00
|
|
|
$(CXX) $(CXXFLAGS) -c -o src/errorlogger.o src/errorlogger.cpp
|
2009-01-06 21:12:59 +01:00
|
|
|
|
|
|
|
src/filelister.o: src/filelister.cpp src/filelister.h
|
2009-03-09 18:35:43 +01:00
|
|
|
$(CXX) $(CXXFLAGS) -c -o src/filelister.o src/filelister.cpp
|
2009-01-06 21:12:59 +01:00
|
|
|
|
2009-02-08 22:20:35 +01:00
|
|
|
src/main.o: src/main.cpp src/cppcheckexecutor.h src/errorlogger.h src/settings.h
|
2009-03-09 18:35:43 +01:00
|
|
|
$(CXX) $(CXXFLAGS) -c -o src/main.o src/main.cpp
|
2009-01-06 21:12:59 +01:00
|
|
|
|
2009-04-06 19:08:13 +02:00
|
|
|
src/mathlib.o: src/mathlib.cpp src/mathlib.h src/token.h
|
2009-04-06 18:27:14 +02:00
|
|
|
$(CXX) $(CXXFLAGS) -c -o src/mathlib.o src/mathlib.cpp
|
|
|
|
|
2009-08-16 21:17:02 +02:00
|
|
|
src/preprocessor.o: src/preprocessor.cpp src/preprocessor.h src/errorlogger.h src/settings.h src/tokenize.h src/classinfo.h src/token.h src/filelister.h
|
2009-03-09 18:35:43 +01:00
|
|
|
$(CXX) $(CXXFLAGS) -c -o src/preprocessor.o src/preprocessor.cpp
|
2009-01-06 21:12:59 +01:00
|
|
|
|
|
|
|
src/settings.o: src/settings.cpp src/settings.h
|
2009-03-09 18:35:43 +01:00
|
|
|
$(CXX) $(CXXFLAGS) -c -o src/settings.o src/settings.cpp
|
2009-01-06 21:12:59 +01:00
|
|
|
|
2009-08-16 21:17:02 +02:00
|
|
|
src/threadexecutor.o: src/threadexecutor.cpp src/threadexecutor.h src/settings.h src/errorlogger.h src/cppcheck.h src/checkunusedfunctions.h src/tokenize.h src/classinfo.h src/token.h
|
2009-03-09 18:35:43 +01:00
|
|
|
$(CXX) $(CXXFLAGS) -c -o src/threadexecutor.o src/threadexecutor.cpp
|
2009-02-19 23:21:18 +01:00
|
|
|
|
2009-01-06 21:12:59 +01:00
|
|
|
src/token.o: src/token.cpp src/token.h
|
2009-03-09 18:35:43 +01:00
|
|
|
$(CXX) $(CXXFLAGS) -c -o src/token.o src/token.cpp
|
2009-01-06 21:12:59 +01:00
|
|
|
|
2009-08-16 21:17:02 +02:00
|
|
|
src/tokenize.o: src/tokenize.cpp src/tokenize.h src/classinfo.h src/token.h src/filelister.h src/mathlib.h src/settings.h src/errorlogger.h
|
2009-03-09 18:35:43 +01:00
|
|
|
$(CXX) $(CXXFLAGS) -c -o src/tokenize.o src/tokenize.cpp
|
2009-01-06 21:12:59 +01:00
|
|
|
|
2009-08-16 21:17:02 +02:00
|
|
|
test/testautovariables.o: test/testautovariables.cpp src/tokenize.h src/classinfo.h src/token.h src/checkautovariables.h src/check.h src/settings.h src/errorlogger.h test/testsuite.h
|
2009-03-21 18:38:24 +01:00
|
|
|
$(CXX) $(CXXFLAGS) -c -o test/testautovariables.o test/testautovariables.cpp
|
|
|
|
|
2009-08-16 21:17:02 +02:00
|
|
|
test/testbufferoverrun.o: test/testbufferoverrun.cpp src/tokenize.h src/classinfo.h src/token.h src/checkbufferoverrun.h src/check.h src/settings.h src/errorlogger.h test/testsuite.h
|
2009-03-09 18:35:43 +01:00
|
|
|
$(CXX) $(CXXFLAGS) -c -o test/testbufferoverrun.o test/testbufferoverrun.cpp
|
2009-01-06 21:12:59 +01:00
|
|
|
|
2009-08-16 21:17:02 +02:00
|
|
|
test/testcharvar.o: test/testcharvar.cpp src/tokenize.h src/classinfo.h src/token.h src/checkother.h src/check.h src/settings.h src/errorlogger.h test/testsuite.h
|
2009-03-09 18:35:43 +01:00
|
|
|
$(CXX) $(CXXFLAGS) -c -o test/testcharvar.o test/testcharvar.cpp
|
2009-01-06 21:12:59 +01:00
|
|
|
|
2009-08-16 21:17:02 +02:00
|
|
|
test/testclass.o: test/testclass.cpp src/tokenize.h src/classinfo.h src/token.h src/checkclass.h src/check.h src/settings.h src/errorlogger.h test/testsuite.h
|
2009-03-09 18:35:43 +01:00
|
|
|
$(CXX) $(CXXFLAGS) -c -o test/testclass.o test/testclass.cpp
|
2009-01-06 21:12:59 +01:00
|
|
|
|
2009-08-16 21:17:02 +02:00
|
|
|
test/testconstructors.o: test/testconstructors.cpp src/tokenize.h src/classinfo.h src/token.h src/checkclass.h src/check.h src/settings.h src/errorlogger.h test/testsuite.h
|
2009-03-09 18:35:43 +01:00
|
|
|
$(CXX) $(CXXFLAGS) -c -o test/testconstructors.o test/testconstructors.cpp
|
2009-01-06 21:12:59 +01:00
|
|
|
|
2009-08-16 21:17:02 +02:00
|
|
|
test/testcppcheck.o: test/testcppcheck.cpp test/testsuite.h src/errorlogger.h src/settings.h src/cppcheck.h src/checkunusedfunctions.h src/tokenize.h src/classinfo.h src/token.h
|
2009-03-09 18:35:43 +01:00
|
|
|
$(CXX) $(CXXFLAGS) -c -o test/testcppcheck.o test/testcppcheck.cpp
|
2009-02-05 21:06:39 +01:00
|
|
|
|
2009-08-16 21:17:02 +02:00
|
|
|
test/testdangerousfunctions.o: test/testdangerousfunctions.cpp src/tokenize.h src/classinfo.h src/token.h src/checkdangerousfunctions.h src/check.h src/settings.h src/errorlogger.h test/testsuite.h
|
2009-03-09 18:35:43 +01:00
|
|
|
$(CXX) $(CXXFLAGS) -c -o test/testdangerousfunctions.o test/testdangerousfunctions.cpp
|
2009-01-31 19:24:48 +01:00
|
|
|
|
2009-08-16 21:17:02 +02:00
|
|
|
test/testdivision.o: test/testdivision.cpp src/tokenize.h src/classinfo.h src/token.h src/checkother.h src/check.h src/settings.h src/errorlogger.h test/testsuite.h
|
2009-03-09 18:35:43 +01:00
|
|
|
$(CXX) $(CXXFLAGS) -c -o test/testdivision.o test/testdivision.cpp
|
2009-01-06 21:12:59 +01:00
|
|
|
|
2009-02-08 22:20:35 +01:00
|
|
|
test/testfilelister.o: test/testfilelister.cpp test/testsuite.h src/errorlogger.h src/settings.h src/filelister.h
|
2009-03-09 18:35:43 +01:00
|
|
|
$(CXX) $(CXXFLAGS) -c -o test/testfilelister.o test/testfilelister.cpp
|
2009-01-06 21:12:59 +01:00
|
|
|
|
2009-08-16 21:17:02 +02:00
|
|
|
test/testincompletestatement.o: test/testincompletestatement.cpp test/testsuite.h src/errorlogger.h src/settings.h src/tokenize.h src/classinfo.h src/token.h src/checkother.h src/check.h
|
2009-03-09 18:35:43 +01:00
|
|
|
$(CXX) $(CXXFLAGS) -c -o test/testincompletestatement.o test/testincompletestatement.cpp
|
2009-01-06 21:12:59 +01:00
|
|
|
|
2009-04-06 19:08:13 +02:00
|
|
|
test/testmathlib.o: test/testmathlib.cpp src/mathlib.h src/token.h test/testsuite.h src/errorlogger.h src/settings.h
|
|
|
|
$(CXX) $(CXXFLAGS) -c -o test/testmathlib.o test/testmathlib.cpp
|
|
|
|
|
2009-08-16 21:17:02 +02:00
|
|
|
test/testmemleak.o: test/testmemleak.cpp src/tokenize.h src/classinfo.h src/token.h src/checkmemoryleak.h src/check.h src/settings.h src/errorlogger.h test/testsuite.h
|
2009-03-09 18:35:43 +01:00
|
|
|
$(CXX) $(CXXFLAGS) -c -o test/testmemleak.o test/testmemleak.cpp
|
2009-01-06 21:12:59 +01:00
|
|
|
|
2009-08-16 21:17:02 +02:00
|
|
|
test/testother.o: test/testother.cpp src/tokenize.h src/classinfo.h src/token.h src/checkother.h src/check.h src/settings.h src/errorlogger.h test/testsuite.h
|
2009-03-09 18:35:43 +01:00
|
|
|
$(CXX) $(CXXFLAGS) -c -o test/testother.o test/testother.cpp
|
2009-01-06 21:12:59 +01:00
|
|
|
|
2009-08-16 21:17:02 +02:00
|
|
|
test/testpreprocessor.o: test/testpreprocessor.cpp test/testsuite.h src/errorlogger.h src/settings.h src/preprocessor.h src/tokenize.h src/classinfo.h src/token.h
|
2009-03-09 18:35:43 +01:00
|
|
|
$(CXX) $(CXXFLAGS) -c -o test/testpreprocessor.o test/testpreprocessor.cpp
|
2009-01-06 21:12:59 +01:00
|
|
|
|
2009-08-16 21:17:02 +02:00
|
|
|
test/testredundantif.o: test/testredundantif.cpp src/tokenize.h src/classinfo.h src/token.h src/checkother.h src/check.h src/settings.h src/errorlogger.h test/testsuite.h
|
2009-03-09 18:35:43 +01:00
|
|
|
$(CXX) $(CXXFLAGS) -c -o test/testredundantif.o test/testredundantif.cpp
|
2009-01-06 21:12:59 +01:00
|
|
|
|
2009-02-08 22:20:35 +01:00
|
|
|
test/testrunner.o: test/testrunner.cpp test/testsuite.h src/errorlogger.h src/settings.h
|
2009-03-09 18:35:43 +01:00
|
|
|
$(CXX) $(CXXFLAGS) -c -o test/testrunner.o test/testrunner.cpp
|
2009-01-06 21:12:59 +01:00
|
|
|
|
2009-08-16 21:17:02 +02:00
|
|
|
test/testsimplifytokens.o: test/testsimplifytokens.cpp test/testsuite.h src/errorlogger.h src/settings.h src/tokenize.h src/classinfo.h src/token.h
|
2009-03-09 18:35:43 +01:00
|
|
|
$(CXX) $(CXXFLAGS) -c -o test/testsimplifytokens.o test/testsimplifytokens.cpp
|
2009-01-06 21:12:59 +01:00
|
|
|
|
2009-08-16 21:17:02 +02:00
|
|
|
test/teststl.o: test/teststl.cpp src/tokenize.h src/classinfo.h src/token.h src/checkstl.h src/check.h src/settings.h src/errorlogger.h test/testsuite.h
|
2009-03-09 18:35:43 +01:00
|
|
|
$(CXX) $(CXXFLAGS) -c -o test/teststl.o test/teststl.cpp
|
2009-02-10 20:40:21 +01:00
|
|
|
|
2009-02-08 22:20:35 +01:00
|
|
|
test/testsuite.o: test/testsuite.cpp test/testsuite.h src/errorlogger.h src/settings.h
|
2009-03-09 18:35:43 +01:00
|
|
|
$(CXX) $(CXXFLAGS) -c -o test/testsuite.o test/testsuite.cpp
|
2009-01-06 21:12:59 +01:00
|
|
|
|
2009-08-16 21:17:02 +02:00
|
|
|
test/testtoken.o: test/testtoken.cpp test/testsuite.h src/errorlogger.h src/settings.h src/tokenize.h src/classinfo.h src/token.h
|
2009-03-09 18:35:43 +01:00
|
|
|
$(CXX) $(CXXFLAGS) -c -o test/testtoken.o test/testtoken.cpp
|
2009-01-06 21:12:59 +01:00
|
|
|
|
2009-08-16 21:17:02 +02:00
|
|
|
test/testtokenize.o: test/testtokenize.cpp test/testsuite.h src/errorlogger.h src/settings.h src/tokenize.h src/classinfo.h src/token.h
|
2009-03-09 18:35:43 +01:00
|
|
|
$(CXX) $(CXXFLAGS) -c -o test/testtokenize.o test/testtokenize.cpp
|
2009-01-06 21:12:59 +01:00
|
|
|
|
2009-08-16 21:17:02 +02:00
|
|
|
test/testunusedfunctions.o: test/testunusedfunctions.cpp src/tokenize.h src/classinfo.h src/token.h test/testsuite.h src/errorlogger.h src/settings.h src/checkunusedfunctions.h
|
2009-06-07 22:12:20 +02:00
|
|
|
$(CXX) $(CXXFLAGS) -c -o test/testunusedfunctions.o test/testunusedfunctions.cpp
|
|
|
|
|
2009-08-16 21:17:02 +02:00
|
|
|
test/testunusedprivfunc.o: test/testunusedprivfunc.cpp src/tokenize.h src/classinfo.h src/token.h src/checkclass.h src/check.h src/settings.h src/errorlogger.h test/testsuite.h
|
2009-03-09 18:35:43 +01:00
|
|
|
$(CXX) $(CXXFLAGS) -c -o test/testunusedprivfunc.o test/testunusedprivfunc.cpp
|
2009-01-06 21:12:59 +01:00
|
|
|
|
2009-08-16 21:17:02 +02:00
|
|
|
test/testunusedvar.o: test/testunusedvar.cpp test/testsuite.h src/errorlogger.h src/settings.h src/tokenize.h src/classinfo.h src/token.h src/checkother.h src/check.h
|
2009-03-09 18:35:43 +01:00
|
|
|
$(CXX) $(CXXFLAGS) -c -o test/testunusedvar.o test/testunusedvar.cpp
|
2009-01-06 21:12:59 +01:00
|
|
|
|