Fix Linux makefile after moving timer code to own files.

This commit is contained in:
Kimmo Varis 2010-08-31 23:22:48 +03:00
parent d417256c98
commit 42dfd255e3
2 changed files with 7 additions and 1 deletions

View File

@ -29,6 +29,7 @@ LIBOBJ = lib/checkautovariables.o \
lib/path.o \
lib/preprocessor.o \
lib/settings.o \
lib/timer.o \
lib/token.o \
lib/tokenize.o
@ -125,7 +126,7 @@ lib/checkstl.o: lib/checkstl.cpp lib/checkstl.h lib/check.h lib/token.h lib/toke
lib/checkunusedfunctions.o: lib/checkunusedfunctions.cpp lib/checkunusedfunctions.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/checkunusedfunctions.o lib/checkunusedfunctions.cpp
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/classinfo.h lib/preprocessor.h lib/filelister.h lib/path.h
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/classinfo.h lib/preprocessor.h lib/filelister.h lib/path.h lib/timer.h
$(CXX) $(CXXFLAGS) -Ilib -c -o lib/cppcheck.o lib/cppcheck.cpp
lib/errorlogger.o: lib/errorlogger.cpp lib/errorlogger.h lib/path.h
@ -155,6 +156,9 @@ lib/preprocessor.o: lib/preprocessor.cpp lib/preprocessor.h lib/tokenize.h lib/c
lib/settings.o: lib/settings.cpp lib/settings.h
$(CXX) $(CXXFLAGS) -Ilib -c -o lib/settings.o lib/settings.cpp
lib/timer.o: lib/timer.cpp lib/timer.h
$(CXX) $(CXXFLAGS) -Ilib -c -o lib/timer.o lib/timer.cpp
lib/token.o: lib/token.cpp lib/token.h lib/errorlogger.h lib/check.h lib/tokenize.h lib/classinfo.h lib/settings.h
$(CXX) $(CXXFLAGS) -Ilib -c -o lib/token.o lib/token.cpp

View File

@ -20,6 +20,7 @@ HEADERS += $$PWD/check.h \
$$PWD/path.h \
$$PWD/preprocessor.h \
$$PWD/settings.h \
$$PWD/timer.h \
$$PWD/token.h \
$$PWD/tokenize.h
@ -42,5 +43,6 @@ SOURCES += $$PWD/checkautovariables.cpp \
$$PWD/path.cpp \
$$PWD/preprocessor.cpp \
$$PWD/settings.cpp \
$$PWD/timer.cpp \
$$PWD/token.cpp \
$$PWD/tokenize.cpp