🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Marty Thu, 28 Sep 1989 22:18
strangeness in gnu-make 3.56
#452
Author: Marty
Date: Thu, 28 Sep 1989 22:18
48 lines
1658 bytes
I just tried to get the Utah RLE toolkit up with gnumake 3.56.  I'm running
on sun386i's and sun4s.  I also tried the makefile on a Masscomp using
Masscomp's make and it works like SunOS make, so the problem isn't sun
specific.

The problems can be deduced to this extract of a makefile:


getsun.out:
        $(CC) $< -lm -o $*.new
 
 
 
.SUFFIXES:
.SUFFIXES: .out .c
.c.out:
        $(CC) $(CFLAGS) $< $(LIBES) -lm -o $*.new


(gnumake is the default make on my path.)

pssun% make -n -v -f make.test
GNU Make version 3.56, by Richard Stallman and Roland McGrath.
Copyright (C) 1988, 1989 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
 
cc  -lm -o getsun.new

pssun% /bin/make -n -f make.test
cc getsun.c -lm -o getsun.new

Since getsun.out has an explicit rule, I don't see how it knows $< is a .c
file.
But the other makes can seem to figure it out.  

Whether or not it is a bug, the lack of compatibility is a problem.




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

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads