From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Richard G. Riley" Newsgroups: gmane.emacs.help Subject: c compile Date: Wed, 22 Mar 2006 15:57:36 +0100 Message-ID: <0858f3-1oc.ln1@fujitsu.mydomain.com> NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1143042102 15024 80.91.229.2 (22 Mar 2006 15:41:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 22 Mar 2006 15:41:42 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Mar 22 16:41:41 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FM5Sg-0002NH-Id for geh-help-gnu-emacs@m.gmane.org; Wed, 22 Mar 2006 16:41:27 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FM5Sg-0004yw-0d for geh-help-gnu-emacs@m.gmane.org; Wed, 22 Mar 2006 10:41:26 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 4 Original-X-Trace: individual.net DUmHMk0jSp6tpGtNPve72gUb4ylTMJcwAx2XFcmY/r1m59b7QI X-Orig-Path: fujitsu.mydomain.com!news User-Agent: slrn/0.9.8.1 (Linux) Original-Xref: shelby.stanford.edu gnu.emacs.help:138325 Original-To: help-gnu-emacs@gnu.org 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:33936 Archived-At: How to make the compile command compile and link the current file? e.g currently in C mode I "M-x" and then "compile" which brings up "make -k" : how could I get the "make" or even "gcc -c" to be appended with the current file's name (x.c) or base name (x) in the case of make?