🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by pardo Fri, 28 Apr 1989 19:14
1.34.2 Makefile strangeness...
#1928
Author: 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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads