From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nick Roberts Newsgroups: gmane.emacs.help Subject: Re: java and M-x compile Date: Sat, 1 Oct 2005 10:32:19 +1200 Message-ID: <17213.48371.810912.8686@kahikatea.snap.net.nz> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1128119810 4620 80.91.229.2 (30 Sep 2005 22:36:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 30 Sep 2005 22:36:50 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Oct 01 00:36:44 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1ELTUY-0001oc-7u for geh-help-gnu-emacs@m.gmane.org; Sat, 01 Oct 2005 00:36:34 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ELTUX-0000qe-Ke for geh-help-gnu-emacs@m.gmane.org; Fri, 30 Sep 2005 18:36:33 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ELTTZ-0000Uv-FU for help-gnu-emacs@gnu.org; Fri, 30 Sep 2005 18:35:33 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ELTTW-0000Th-6P for help-gnu-emacs@gnu.org; Fri, 30 Sep 2005 18:35:31 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ELTTV-0000Qq-O0 for help-gnu-emacs@gnu.org; Fri, 30 Sep 2005 18:35:29 -0400 Original-Received: from [202.37.101.8] (helo=viper.snap.net.nz) by monty-python.gnu.org with esmtp (Exim 4.34) id 1ELTOh-0007t7-4V for help-gnu-emacs@gnu.org; Fri, 30 Sep 2005 18:30:31 -0400 Original-Received: from kahikatea.snap.net.nz (p191-tnt2.snap.net.nz [202.124.108.191]) by viper.snap.net.nz (Postfix) with ESMTP id 336D0688348 for ; Sat, 1 Oct 2005 10:30:25 +1200 (NZST) Original-Received: by kahikatea.snap.net.nz (Postfix, from userid 500) id B142D83FA; Sat, 1 Oct 2005 10:32:21 +1200 (NZST) Original-To: help-gnu-emacs@gnu.org X-Mailer: VM 7.19 under Emacs 22.0.50.5 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:29838 Archived-At: > > It might mean that make typically comes with standard defaults, so > > e.g., knows to run a C compiler on .c files. > > > Even when you know how to enter a train: how will you be able to arrive > at your target destination when you neither know it nor how many times > and where you have to change into which other trains? > A makefile is needed! I don't know about trains but on GNU/Linux or Unix if you type: make myprog and you have an executable called myprog.c in that directory, make will find and compile it: nickrob/34 make myprog cc myprog.c -o myprog nickrob/35 Nick