🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.utils.bug
Article #216

GNU make 3.62 does not understand this Makefile

#216
From: Jan-Piet Mens
Date: Thu, 23 Jul 1992 08:51
27 lines
1186 bytes
GNU Make version 3.62, by Richard Stallman and Roland McGrath.

The following makefile is correctly processed by /bin/make and GNU make 3.59
Can someone explain why it doesn't work with GNU make 3.62 ?

	Target is lib.a with two modules (one.o and two.o)

LIB=lib.a
.c.a:
	$(CC) $(CFLAGS) -c $*.c
	ar r $(LIB) $*.o
	rm -f $*.o

OBJ=	$(LIB)(one.o)	\
	$(LIB)(two.o)	

.PRECIOUS: $(LIB)

make: $(LIB)

$(LIB): file.h $(OBJ)
	$(RANLIB) $(LIB)
-- 
    __  _____   __  __ 
   |  ||  _  \ |  \/  |    Logix GmbH                             jpm@Logix.DE
 __|  ||  ___/ |      |    Moritzstrasse 50, +49-611-309797   jpm@logixwi.UUCP
|_____||__|    |__||__|    D-6200 Wiesbaden  ...!uunet!mcsun!unido!logixwi!jpm
Technical Details
Message-ID: <1992Jul23.085137.28846@Logix.DE>
Path: arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!mips!mips!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!logix.DE!jpm

Show Full Headers
Complete Article Headers
Newsgroups: gnu.utils.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!mips!mips!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!logix.DE!jpm
From: jpm@logix.DE (Jan-Piet Mens)
Subject: GNU make 3.62 does not understand this Makefile
Message-ID: <1992Jul23.085137.28846@Logix.DE>
Sender: gnulists@ai.mit.edu
Organization: Logix GmbH, Wiesbaden, Germany
Distribution: gnu
Date: Thu, 23 Jul 1992 08:51:37 GMT
Approved: bug-gnu-utils@prep.ai.mit.edu
Lines: 28