This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
need help for editing a makefile
- From: mahmoodn <nt_mahmood at yahoo dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Tue, 11 Dec 2007 00:11:41 -0800 (PST)
- Subject: need help for editing a makefile
Hi,
I have these lines in makefile:
VVc_demo.moc: VVc_demo.cpp
$(QT_MOC) -o VVc_demo.moc VVc_demo.cpp
VVc_demo$(OBJ_EXT): VVc_demo.moc
VVc_demo$(EXE_EXT): VVc_demo$(OBJ_EXT)
$(CGAL_CXX) $(LIBPATH) $(EXE_OPT)VVc_demo VVc_demo$(OBJ_EXT) $(LDFLAGS)
I want to tell make that compile VVc_demo.cpp whenever "a.cpp" or "b.cpp" or
"c.cpp" or ... changed.
How can I do that?
--
View this message in context: http://www.nabble.com/need-help-for-editing-a-makefile-tp14269485p14269485.html
Sent from the gcc - Help mailing list archive at Nabble.com.