🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.utils.bug
Article #539

make 3.57 weirdness

#539
From: Marty
Date: Wed, 15 Nov 1989 00:00
43 lines
1350 bytes
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
 
Technical Details
Message-ID: <891114-160007-2233@Xerox>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!shelby!apple!usc!cs.utexas.edu!tut.cis.ohio-state.edu!XEROX.COM!Leisner.Henr

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!shelby!apple!usc!cs.utexas.edu!tut.cis.ohio-state.edu!XEROX.COM!Leisner.Henr
From: Leisner.Henr@XEROX.COM (Marty)
Newsgroups: gnu.utils.bug
Subject: make 3.57 weirdness
Message-ID: <891114-160007-2233@Xerox>
Date: 15 Nov 89 00:00:05 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 43