X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=2.1 required=5.0 tests=AWL,BAYES_50,DEAR_SOMETHING,DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,TW_VC,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Message-ID: <31059403.post@talk.nabble.com> Date: Thu, 3 Mar 2011 06:58:40 -0800 (PST) From: sirWill To: cygwin AT cygwin DOT com Subject: Re: Error in Make In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable References: <31056876 DOT post AT talk DOT nabble DOT com> X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com I'm sorry, but I uploaded unoriginal makefile. In original Makefile these strings are uncommented. But make wrote error: Nothing to be done for 'all' But in project folder and subfolders vclient didn't exists, only source code and some objects files. Csaba Raduly-2 wrote: >=20 > Dear Sir :) >=20 > On Thu, Mar 3, 2011 at 9:15 AM, sirWill wrote: >> >> I receive some project in C++ and Qt and I should build it in Cygwin. But >> operation "make" in Cygwin wrote for me: >> >> make: Nothing to be done for 'all' >> >> This is =C2=A0http://old.nabble.com/file/p31056876/Makefile Makefile . >=20 > You should be happy. "Nothing to be done for 'all' " means that > vclient is ready (it already exists). >=20 > Your makefile contains: >=20 > #$(CLIENT): $(patsubst %.cpp,%.o, $(VCLIENT_SOURCES)) $(patsubst > %.cpp,%.o, $(MOC_MODULES)) > # $(CXX) $^ $(CLIENT_LIBS) -o $@ >=20 > You just commented out the recipe which would have told make how to > create $(CLIENT) a.k.a. vclient. >=20 > If you delete vclient and run make, you'll get the following error: > make: *** No rule to make target `vclient', needed by `all'. Stop. >=20 > The # character acts as a comment for make. You should try > uncommenting these two lines and running make again. > This is a problem with your makefile, not the make. It is also not a > Cygwin problem. You would get the same result on Linux with the > commented out lines. >=20 > If you want to see what make is "thinking", use the -d option. >=20 > HTH, > Csaba > --=20 > GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++ > The Tao of math: The numbers you can count are not the real numbers. > Life is complex, with real and imaginary parts. > "Ok, it boots. Which means it must be bug-free and perfect. " -- Linus > Torvalds > "People disagree with me. I just ignore them." -- Linus Torvalds >=20 > -- > Problem reports: http://cygwin.com/problems.html > FAQ: http://cygwin.com/faq/ > Documentation: http://cygwin.com/docs.html > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple >=20 >=20 >=20 --=20 View this message in context: http://old.nabble.com/Error-in-Make-tp3105687= 6p31059403.html Sent from the Cygwin list mailing list archive at Nabble.com. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple