|
From: Luigi S. <gi...@li...> - 2003-05-29 05:37:30
|
On Tue, May 27, 2003 at 07:40:55PM +0300, ?????? ????????? wrote: > Hello, All > > A simple case: I have main.cpp + myclass.h with class "myclass" fully declared > & defined in it. But in Makefile.win i see: > main.o: main.cpp > $(CPP) -c main.cpp -o main.o $(CXXFLAGS) > So, when I modify class member in .h file, project doesn't recompile, it only > links. > > Is there any way to add *.h dependency to *.cpp in makefile? Hi, Maxim Look among your settings, you will find something like "fast dependency generation" and should disable it. According to the authors, this will solve your problem, my personal experience with old Dev-C++ releases (up to 4.9.6.0) was that even when the fast dependency was turned off, header files were not included in the dependency, I guess this has been fixed in the latest releases. Excuse me for not accurately pointing out the place where the setting is found, I'm unable to run Dev-c++ right now. -- >> gisan >> |