www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2002/06/17/10:32:46

X-Authentication-Warning: kendall.sfbr.org: jeffw set sender to jeffw AT darwin DOT sfbr DOT org using -f
Date: Mon, 17 Jun 2002 09:32:34 -0500
From: JT Williams <jeffw AT darwin DOT sfbr DOT org>
To: djgpp-workers AT delorie DOT com
Subject: Re: automake 1.5, bison 1.35 and Fileutils 4.1 - y_tab.c vs. y.tab.c
Message-ID: <20020617143234.GA27267@kendall.sfbr.org>
Mail-Followup-To: djgpp-workers AT delorie DOT com
References: <3D060D90 DOT 71227138 AT phekda DOT freeserve DOT co DOT uk>
Mime-Version: 1.0
In-Reply-To: <3D060D90.71227138@phekda.freeserve.co.uk>
User-Agent: Mutt/1.3.27i
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

-: I looked at the automake installed files and it appears to come from
-: share/automake/am/yacc.am. But in yacc.am, the names are y.tab.<whatever>. I
-: haven't found what does changes '.' to '_' yet.

I don't know if there is a canonical solution to this problem,
but for my own stuff I use a fragment like this in Makefile.cfg:

ifneq ($(COMSPEC),)
        DOT = _
        EXEEXT = .exe
        SEP = ;
else
        DOT = .
        EXEEXT =
        SEP = :
endif

after which I make reference only to y$(DOT)tab.h, foo$(EXEEXT), etc.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019