From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Emanuel Berg Newsgroups: gmane.emacs.help Subject: Re: Compilation in C and ADA Date: Sat, 23 Jul 2016 22:08:28 +0200 Organization: Aioe.org NNTP Server Message-ID: <86lh0syv5v.fsf@student.uu.se> References: <87shv5sf78.fsf@ram.bvr.dp.lan> <4781A7A0-F110-47CC-A19D-0C9F1619FD23@comcast.net> <87y44xors9.fsf@ram.bvr.dp.lan> <1D8794DF-16FD-43C6-8F74-43EAFC1B6D0A@comcast.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1469304651 24769 80.91.229.3 (23 Jul 2016 20:10:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 23 Jul 2016 20:10:51 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jul 23 22:10:43 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bR3Fy-0002N1-MN for geh-help-gnu-emacs@m.gmane.org; Sat, 23 Jul 2016 22:10:42 +0200 Original-Received: from localhost ([::1]:53553 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bR3Fx-0001ny-2E for geh-help-gnu-emacs@m.gmane.org; Sat, 23 Jul 2016 16:10:41 -0400 Original-Path: usenet.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!feeder2.xsusenet.com!news.mixmin.net!aioe.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 28 Original-NNTP-Posting-Host: EoOtCC1fCYcttx6jjhWUlA.user.gioia.aioe.org Original-X-Complaints-To: abuse@aioe.org User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) X-Notice: Filtered by postfilter v. 0.8.2 Cancel-Lock: sha1:2F/+gOcIweOMmR5bkHnRC1Ga4qM= Mail-Copies-To: never Original-Xref: usenet.stanford.edu gnu.emacs.help:218602 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:110914 Archived-At: Dale Snell wrote: > You could create a Makefile that will call > your compiler, but for a single file project > that's a bit of overkill, IMO. It is a good idea to have a Makefile even for the short time when the project consists of a single file, because even the smallest project get by this state very fast, and if there isn't a Makefile, the programmer may be hesitant to split the program into two files even when it is natural as this will imply the extra work of setting up a Makefile. It is good to do it day one and be done with it! With C, obviously there are the header files, but even in Ada, IIRC from my schoolbook experience of the language you'd similarly put "definitions" in one file, and "implementations" in a corresponding? -- underground experts united .... http://user.it.uu.se/~embe8573 Emacs Gnus Blogomatic ......... http://user.it.uu.se/~embe8573/blogomatic - so far: 58 Blogomatic articles -