Let me refine this question with a comment that I know very little about Makefile or make.
There is a very large project that is automatically created at night. It is built both in debug mode and in Release mode, Debug is used for utilities such as Valgrind for code analysis. Somehow, some of the built-in libraries lose the debug flag during the make process, which makes some analysis results useless. I was instructed to find the error, and I need some suggestions on how to find / fix the problem.
Thanks in advance
, , , Makefile .
, , Make , .
- :
find . -name Makefile -exec grep -nH -- -g {} \;
( -name, Makefiles, foo.mk bar.mak - . "-g", - - .)
, CFLAGS. , , , (, ifeq($(RELEASE),1)).
ifeq($(RELEASE),1)
Makefile , . , . ? Makefiles ?
, .
, -d; , Makefiles , ( , , script); , , .
use remake its really good
Source: https://habr.com/ru/post/1754709/More articles:How optimized is the Visual C ++ 2008/2010 compiler? - c ++Get groovy, maven and eclipse to play well together? - eclipseHow to disable AspectJ without restarting the program? - javaКак предотвратить неповторяющиеся результаты запроса с использованием API персистентности в Java SE? - javaДизайн Вопрос о преобразовании POCOs из одного слоя в POCOs в другом слое - design(memcached + реляционный db) vs nosql - databaseChoosing a design for working with high-performance files - performanceHow to disable web services running Visual Studio - asp.netSubmodules for plugins or for dependencies? - gitFacebook Connect and ASP.NET authentication - sync issue / cookie - cookiesAll Articles