[gnu.utils.bug] make 3.57 weirdness

Leisner.Henr@XEROX.COM (Marty) (11/15/89)

I'm having some weird problems with gnu make 3.57 on a sun386i.

Here's the makefile that causes problems:

PROGS= imasedit imasexport imasshow 
CFLAGS=-g
LDFLAGS=-g
CC=gcc

all:	$(PROGS)

imasshow:	imasshow.o control_file.o	imasheader.o

imasedit:	imasedit.o control_file.o imasheader.o	

imasexport:		control_file.o imasheader.o export.o


clean:
	rm core $(PROGS) *.o

export.c imasheader.c comments.c:	imasheader.h


The problem is the program imasexport doesn't get made (export.o always
gets made).  If I shorten the name from imaseport to export, no problem
(but not masexport or asexport).

If I add a rule of the form:
	$(CC) $(LDFLAGS) -o $@ $^
under imasexport, no problem.

I'm a bit puzzled by all this -- I'm not sure if I'm doing anything wrong
or if there's a bug floating in here. 


marty
ARPA:	leisner.henr@xerox.com
GV:  leisner.henr
NS:  leisner:wbst139:xerox
UUCP:	hplabs!arisia!leisner