fix build (CFG_DIR => CFGDIR) and run dmake.
This commit is contained in:
parent
780bd7e63e
commit
b71c945ac4
2
Makefile
2
Makefile
|
@ -413,7 +413,7 @@ $(SRCDIR)/path.o: lib/path.cpp lib/cxx11emu.h lib/path.h lib/config.h lib/utils.
|
||||||
$(SRCDIR)/pathmatch.o: lib/pathmatch.cpp lib/cxx11emu.h lib/pathmatch.h lib/config.h lib/path.h lib/utils.h
|
$(SRCDIR)/pathmatch.o: lib/pathmatch.cpp lib/cxx11emu.h lib/pathmatch.h lib/config.h lib/path.h lib/utils.h
|
||||||
$(CXX) ${INCLUDE_FOR_LIB} $(CPPFLAGS) $(CFG) $(CXXFLAGS) $(UNDEF_STRICT_ANSI) -c -o $(SRCDIR)/pathmatch.o $(SRCDIR)/pathmatch.cpp
|
$(CXX) ${INCLUDE_FOR_LIB} $(CPPFLAGS) $(CFG) $(CXXFLAGS) $(UNDEF_STRICT_ANSI) -c -o $(SRCDIR)/pathmatch.o $(SRCDIR)/pathmatch.cpp
|
||||||
|
|
||||||
$(SRCDIR)/platform.o: lib/platform.cpp lib/cxx11emu.h lib/platform.h lib/config.h
|
$(SRCDIR)/platform.o: lib/platform.cpp lib/cxx11emu.h lib/platform.h lib/config.h lib/path.h
|
||||||
$(CXX) ${INCLUDE_FOR_LIB} $(CPPFLAGS) $(CFG) $(CXXFLAGS) $(UNDEF_STRICT_ANSI) -c -o $(SRCDIR)/platform.o $(SRCDIR)/platform.cpp
|
$(CXX) ${INCLUDE_FOR_LIB} $(CPPFLAGS) $(CFG) $(CXXFLAGS) $(UNDEF_STRICT_ANSI) -c -o $(SRCDIR)/platform.o $(SRCDIR)/platform.cpp
|
||||||
|
|
||||||
$(SRCDIR)/preprocessor.o: lib/preprocessor.cpp lib/cxx11emu.h lib/preprocessor.h lib/config.h lib/errorlogger.h lib/suppressions.h lib/library.h lib/mathlib.h lib/standards.h lib/path.h lib/settings.h lib/importproject.h lib/platform.h lib/utils.h lib/timer.h
|
$(SRCDIR)/preprocessor.o: lib/preprocessor.cpp lib/cxx11emu.h lib/preprocessor.h lib/config.h lib/errorlogger.h lib/suppressions.h lib/library.h lib/mathlib.h lib/standards.h lib/path.h lib/settings.h lib/importproject.h lib/platform.h lib/utils.h lib/timer.h
|
||||||
|
|
|
@ -170,8 +170,8 @@ bool cppcheck::Platform::platformFile(const char exename[], const std::string &f
|
||||||
std::string cfgdir = CFGDIR;
|
std::string cfgdir = CFGDIR;
|
||||||
if (cfgdir[cfgdir.size()-1] != '/')
|
if (cfgdir[cfgdir.size()-1] != '/')
|
||||||
cfgdir += '/';
|
cfgdir += '/';
|
||||||
filenames.push_back(CFG_DIR + ("../platforms/" + filename));
|
filenames.push_back(CFGDIR + ("../platforms/" + filename));
|
||||||
filenames.push_back(CFG_DIR + ("../platforms/" + filename + ".xml"));
|
filenames.push_back(CFGDIR + ("../platforms/" + filename + ".xml"));
|
||||||
#endif
|
#endif
|
||||||
bool success = false;
|
bool success = false;
|
||||||
for (int i = 0; i < filenames.size(); ++i) {
|
for (int i = 0; i < filenames.size(); ++i) {
|
||||||
|
|
Loading…
Reference in New Issue