delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/04/12/16:34:31

From: rri!potter AT vtserf DOT cc DOT vt DOT edu (Mark Allen Potter)
Subject: gnu make woes
To: djgpp AT sun DOT soe DOT clarkson DOT edu (DJ G++ Mailing List )
Date: Tue, 12 Apr 1994 15:44:41 -0400 (EDT)
Reply-To: rri!potter AT vtserf DOT cc DOT vt DOT edu

I know that I'm replying to an old message, but I just got hit by this problem
and I searched my message repository for any messages on the subject.

> I wanted to send you an offending Makefile for further examination, DJ,
> but in the meantime I cut it down to the bottomline that gnu make has
> trouble with DOS drive names:
> 
> OBJPATH=h:
> OBJ= $(OBJPATH)/file.o
> all:	$(OBJ) 
> 	echo hello
> 
> 
> GNU make says it is expecting a % sign (due to the expanding OBJPATH to h:)
> This is ugly for a make that is supposed to run under DOS.

Has anyone come up with a solution to this problem?  I know of a possible work
around for one working with multiple local hard drives (the JOIN command). 
However my development environment envolves network drives, and join doesn't
work with network drives (or atleast it didn't the last time I tried (c. 
v5.0)).  Thanks.
					Potter
					rri!potter AT vtserf DOT cc DOT vt DOT edu

- Raw text -


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