I cobbled up CMS Make (like three times, two being lost to former employers) and intentionally made "leading white space" count for "leading tab character". Seems to work, but I always only ever use a subset of full 'make' capability (on any platform).

Anyway, it's not difficult to have your makefiles fix themselves, converting leading 8 blanks to a tab automagically. Some of the makefiles in and around CMS Make do exactly that: if they land on (for example) Linux, they get run through 'sed' to convert leading 8 blanks to a single tab.

The idea is that "makefile" (or "Makefile" if you must) depends on some other "makefile.in", which is the master. On any platform, if "makefile.in" is newer, the recipe is triggered, and maybe is just ...

   sed 's#^        #\t#' < makefile.in > makefile


... or something to that effect. (Might have to embed a real tab if your 'sed' is not smart enough.) Then you can edit your master rules files on 3270 without funky presentation and painful data entry incantations.

Makefile with dependencies is messy but not unheard of.

-- R; <><


On 12/18/17 13:42, Seymour J Metz wrote:
Tabs were a bloody nuisance long before 3270 displays came along; in fact, they 
may have been worse on hardcopy terminals than on 3270s.


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3

________________________________________
From: IBM Mainframe Discussion List <[email protected]> on behalf of John 
McKown <[email protected]>
Sent: Thursday, December 14, 2017 2:08 PM
To: [email protected]
Subject: Re: "make" question

On Thu, Dec 14, 2017 at 12:56 PM, Jack J. Woehr <[email protected]> wrote:

On 12/14/2017 7:25 AM, Gord Tomlin wrote:

All the make tools share an annoying reliance on tab characters.

This is somehow more pernicious than punch-card-column dependencies in
traditional IBM tools? :)

​IMO, the use of tabs as a "data character" is only annoying to people
stuck on a 3270 display.  I have _no_ problems with them when I'm using ssh
to get a UNIX shell. Boiled down, I will agree that using UNIX tools in a
TSO  (3270) environment is annoying.​ Equally annoying, to me, is the
column dependencies when I editing an HLASM or COBOL program from the UNIX
shell. And don't get me going on the "vi" that IBM distributes.


--
Jack J. Woehr     # Science is more than a body of knowledge. It's a way of
http://secure-web.cisco.com/1ybTM2fIPP6WIfaVgbAVnswUzPnLdlv3Q8suGEuvNuIcWmlO1FeCilZ_8AhBDR-gmcGDcWhBJEMVBPDjtPo47Ec46mMyk-AOKheGSj1zNZIOcc1PcpkdPbisMbUUwXdyxchTPLkS9938zz2xTA-atthJaQg8nrixGqy71j40crWiVHjKaJvcMhcM9azcZhOXm_krOIUa8sblenqgCAnmtqbNSt3SM6rhLSb33bqcKbth50bY0xFf6E4s7hYftAcX6Jn6IIYuYLjj2sxSYKJ4Lid-vuodLYc4D758luythtRxrb0-N0X5-cas0_7vXj6XnN4ZzfOH5RrAwzTh8V-zKkU5HwMD6yW_7sAusgAdvov4FtuFtqpTgxabUa3aMKgLc/http%3A%2F%2Fwww.well.com%2F%7Ejax
 # thinking, a way of skeptically interrogating the
universe
www.softwoehr.com # with a fine understanding of human fallibility. -
Carl Sagan

--
I have a theory that it's impossible to prove anything, but I can't prove
it.

Maranatha! <><
John McKown

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN


----------------------------------------------------------------------ClefOS
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN



----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to