From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Eric M. Ludlam" Newsgroups: gmane.emacs.devel Subject: Re: Problems with EDE Date: Wed, 07 Oct 2009 12:32:47 -0400 Message-ID: <1254933167.6961.298.camel@projectile.siege-engine.com> References: <87hbun9jbs.fsf@stupidchicken.com> <1254397096.16450.84.camel@projectile.siege-engine.com> <1254575261.6961.23.camel@projectile.siege-engine.com> <873a5wbed3.fsf@stupidchicken.com> Reply-To: eric@siege-engine.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1254933338 11488 80.91.229.12 (7 Oct 2009 16:35:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 7 Oct 2009 16:35:38 +0000 (UTC) Cc: Chong Yidong , emacs-devel@gnu.org To: Sascha Wilde Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 07 18:35:27 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MvZU6-0002ky-I8 for ged-emacs-devel@m.gmane.org; Wed, 07 Oct 2009 18:35:26 +0200 Original-Received: from localhost ([127.0.0.1]:41526 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MvZU5-0007tH-K6 for ged-emacs-devel@m.gmane.org; Wed, 07 Oct 2009 12:35:25 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MvZRM-0006sf-CL for emacs-devel@gnu.org; Wed, 07 Oct 2009 12:32:36 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MvZRL-0006sD-AT for emacs-devel@gnu.org; Wed, 07 Oct 2009 12:32:35 -0400 Original-Received: from [199.232.76.173] (port=48033 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MvZRL-0006s6-84 for emacs-devel@gnu.org; Wed, 07 Oct 2009 12:32:35 -0400 Original-Received: from static-71-184-83-10.bstnma.fios.verizon.net ([71.184.83.10]:46979 helo=projectile.siege-engine.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MvZRK-0003sL-T6 for emacs-devel@gnu.org; Wed, 07 Oct 2009 12:32:35 -0400 Original-Received: from projectile.siege-engine.com (localhost [127.0.0.1]) by projectile.siege-engine.com (8.14.3/8.14.3/Debian-6) with ESMTP id n97GWmIS022129; Wed, 7 Oct 2009 12:32:48 -0400 Original-Received: (from zappo@localhost) by projectile.siege-engine.com (8.14.3/8.14.3/Submit) id n97GWl4i022128; Wed, 7 Oct 2009 12:32:47 -0400 X-Authentication-Warning: projectile.siege-engine.com: zappo set sender to eric@siege-engine.com using -f In-Reply-To: X-Mailer: Evolution 2.26.1 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:115962 Archived-At: I tried your sample w/ the non-integrated CEDET w/ a slightly older Emacs 23, and the created Makefile was complete. I have tests similar to this with Make and Automake that all run to completion also. As such, I'd guess something didn't translate properly in the merge. I can look into this, but it won't be soon. Eric On Wed, 2009-10-07 at 11:49 +0200, Sascha Wilde wrote: > Summary: > Problems with EDE make projects: > - Target are not created correctly in Makefile: > > Details for reproduction: > - emacs -Q > - M-x global-ede-mode RET > - M-x semantic-mode RET > - M-x make-directory RET /tmp/cedet-test2 RET > - C-x C-f /tmp/cedet-test2/test.c RET > - [In the buffer:] > #include > int main () { puts("Hello EDE!"); } > - C-x C-s > - M-x ede-new RET > Project Type: Make > Name: edetest2 > - C-c . t > Name: hello > Type: program > Add test.c to hello? (y or n) y > - C-c . c > > Now I get compilation output: > > -*- mode: compilation; default-directory: "/tmp/cedet-test2/" -*- > Compilation started at Wed Oct 7 11:47:00 > > make -f Makefile hello > make: *** No rule to make target `hello'. Stop. > > Compilation exited abnormally with code 2 at Wed Oct 7 11:47:00 > > A short look in the generated Makefile shows that there is no explicit > target `hello' defined (although a target `all' is there and references > `hello'). > > cheers > sascha