delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/04/11/07:26:12

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-3.2 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <4F856A38.4050308@cs.umass.edu>
Date: Wed, 11 Apr 2012 07:25:44 -0400
From: Eliot Moss <moss AT cs DOT umass DOT edu>
Reply-To: moss AT cs DOT umass DOT edu
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20120327 Thunderbird/11.0.1
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: using a makefile to create an executable file
References: <33664890 DOT post AT talk DOT nabble DOT com> <4F84BD96 DOT 7080003 AT molconn DOT com> <33665436 DOT post AT talk DOT nabble DOT com> <4F853226 DOT 4020208 AT cs DOT umass DOT edu> <33667798 DOT post AT talk DOT nabble DOT com>
In-Reply-To: <33667798.post@talk.nabble.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

On 4/11/2012 7:18 AM, Marc Girod wrote:
>
>
> Eliot Moss wrote:
>>
>> A quick look at the wikipedia page for cmake shows that cmake is
>> a tool that generates a Makefile suitable for the platform at
>> hand. So, I think you need at least these steps:
>>
>
> I am quite sure it would be more beneficial to learn the syntax of makefiles
> and to write simple ones by hand...
> This is not hard, and might be helpful. Miracles (especially the ones you
> don't understand) are dangerous.

I don't disagree.  It just appears that the professor set up
the code to use cmake, whose purpose is to generate a makefile
suitable to the platform at hand.  It would be inappropriate
to tinker with the makefile since the intention is for it to
be generated automatically ...

Regards -- EM

--
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