🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.bug
Article #1928

1.34.2 Makefile strangeness...

#1928
From: pardo
Date: Fri, 28 Apr 1989 19:14
24 lines
1300 bytes
The `Makefile' for 1.34.2 (and maybe others) figures out what flags to
use by doing extensive comparisons of machine-dependent files.  This
seems kludgy to me for two reasons: first, because it reqires a bunch
of machine dependencies to be scattered through the makefile, and
second because it looks strange when I run a `make'.  The second is a
problem, because I don't expect to see `68000' when I'm making for a
VAX!

I'll suggest that a bunch of these things could be packaged up in to a
single machine-dependent shell script, e.g., `config.flags'.  Much as
config.g++ takes a machine specifier, `config.flags' could take a
machine specifier and a flag name.

For maintainence reasons, it might be preferable to bundle config.g++
and config.flags together.

I could then do

	config.g++ `machine`
	make TARGET=`machine`

Hope this is useful!

	;-D on  ( A user's strangeness... )  Pardo
Technical Details
Message-ID: <8904281914.AA27474@june.cs.washington.edu>
Path: arc1-ca.pugleaf.net!utzoo!telly!ddsw1!lll-winken!uunet!tut.cis.ohio-state.edu!JUNE.CS.WASHINGTON.EDU!pardo

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!telly!ddsw1!lll-winken!uunet!tut.cis.ohio-state.edu!JUNE.CS.WASHINGTON.EDU!pardo
From: pardo@JUNE.CS.WASHINGTON.EDU
Newsgroups: gnu.g++.bug
Subject: 1.34.2 Makefile strangeness...
Message-ID: <8904281914.AA27474@june.cs.washington.edu>
Date: 28 Apr 89 19:14:12 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 24