Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Makefile portability and usability
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Aleksej Saushev  
View profile  
 More options Aug 27 2010, 1:19 pm
From: Aleksej Saushev <a...@inbox.ru>
Date: Fri, 27 Aug 2010 21:19:32 +0400
Local: Fri, Aug 27 2010 1:19 pm
Subject: Makefile portability and usability

Hello!

Currently build/unix/Makefile is non-standard, it relies on extensions
present only in GNU Make. In addition, one can't easily override compiler,
compiler flags, linker flags, and so on becase Makefile uses non-conventional
names for those. The attached patch changes build process so that
everything is built in current directory (where make tool is invoked),
it relies only on one feature not guaranteed by POSIX/SUS, VPATH
(present in BSD and GNU Make), and it provides conventional variables to
provide compiler (CC), compiler flags (CFLAGS), preprocessor flags (CPPFLAGS),
linker flags (LDFLAGS), and additional libraries and objects to link to (LDADD).

  posix-make.diff
6K Download

--
HE CE3OH...

  application_pgp-signature_part
< 1K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Phil Burk  
View profile  
 More options Aug 27 2010, 1:54 pm
From: Phil Burk <p...@softsynth.com>
Date: Fri, 27 Aug 2010 10:54:05 -0700
Local: Fri, Aug 27 2010 1:54 pm
Subject: Re: [pforthdev:40] Makefile portability and usability
Great patch Aleksej. Checked in as R45.

My knowledge of Makefile was limited. So I appreciate your making this
standard.

I guess the Makefile "wildcard" was not standard. Bummer because it is a
pain to list all the headers.

Phil

On 8/27/10 10:19 AM, Aleksej Saushev wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Aleksej Saushev  
View profile  
 More options Aug 27 2010, 3:32 pm
From: Aleksej Saushev <a...@inbox.ru>
Date: Fri, 27 Aug 2010 23:32:27 +0400
Local: Fri, Aug 27 2010 3:32 pm
Subject: Re: [pforthdev:41] Makefile portability and usability

Phil Burk <p...@softsynth.com> writes:
> Great patch Aleksej. Checked in as R45.

Thank you.

> My knowledge of Makefile was limited. So I appreciate your
> making this standard.

> I guess the Makefile "wildcard" was not standard. Bummer because
> it is a pain to list all the headers.

Yes, unfortunatly standard Make language lacks many features,
On the other hand listing full dependencies prevents misterious errors,
when you get unpredictable results after you've got some backup header
or source file in source tree.

--
HE CE3OH...

  application_pgp-signature_part
< 1K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »