|
From: <ma...@en...> - 2003-05-28 07:35:40
|
Hello, Mickae"l! Wednesday, May 28, 2003, 10:29:30 AM you wrote: MlW> =ED=C1=CB=D3=C9=CD =E5=CD=C5=CC=D8=D1=CE=CF=D7 a e'crit : >> Hello, All >>=20 >> 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) MlW> Try that : MlW> main.o: main.cpp main.h Yes, I do like that. Problem is, when I press recompile project from DevCpp IDE, Makefile is b= eing rewritten, and all my changes are lost! :((( If there were some per-file settings, like "this file depends on that fil= e[s]", I think it wold be great! >> So, when I modify class member in .h file, project doesn't recompile,= it only >> links. >>=20 >> Is there any way to add *.h dependency to *.cpp in makefile? >>=20 --=20 Best regards, Maxim Yemelyanov, Enigma Soft Company phone: +380 572 177977 WEB: http://enigmasoft.com.ua e-mail: maxim (NO-@-SPAM) enigmasoft.com.ua ICQ: 12253836 |