delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/03/03/06:49:33

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: <AANLkTinPoh+uc=nngk6=RMH-AnNXxOgqWPw3uj9DCRKE@mail.gmail.com>
Subject: Re: Error in Make
From: Csaba Raduly <rcsaba AT gmail DOT com>
To: cygwin AT cygwin DOT com
Cc: sirWill <sir06will AT gmail DOT com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019