X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-0.1 required=5.0 tests=AWL,BAYES_40,DEAR_SOMETHING,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,TW_VC,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: <31056876.post@talk.nabble.com> References: <31056876 DOT post AT talk DOT nabble DOT com> Date: Thu, 3 Mar 2011 12:49:21 +0100 Message-ID: Subject: Re: Error in Make From: Csaba Raduly To: cygwin AT cygwin DOT com Cc: sirWill Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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 Dear Sir :) 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 =A0http://old.nabble.com/file/p31056876/Makefile Makefile . You should be happy. "Nothing to be done for 'all' " means that vclient is ready (it already exists). Your makefile contains: #$(CLIENT): $(patsubst %.cpp,%.o, $(VCLIENT_SOURCES)) $(patsubst %.cpp,%.o, $(MOC_MODULES)) # $(CXX) $^ $(CLIENT_LIBS) -o $@ You just commented out the recipe which would have told make how to create $(CLIENT) a.k.a. vclient. If you delete vclient and run make, you'll get the following error: make: *** No rule to make target `vclient', needed by `all'. Stop. 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. If you want to see what make is "thinking", use the -d option. 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 Torv= alds "People disagree with me. I just ignore them." -- Linus Torvalds -- 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