🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.utils.bug
Article #298

GNU make 3.54 problem

#298
From: T.Day
Date: Fri, 14 Jul 1989 14:23
27 lines
1118 bytes
From: Tim Day <T.Day@uk.ac.ucl.cs>

#Do a 'make setup', then a 'make', after copying this makefile into an empty
#directory

#This makefile 'Abort's when trying to build libfoobar.a(boggle/bar.o)
#under GNU Make version 3.54 on a Sun 3.

#The man page seems to indicate that this sort of thing (building libraries
#from objects in subdirectories) should be possible, but make -d shows something
#nasty happening while 'Trying implicit dependency `(boggle/s.bar.o)'.'

#Note that 'make boggle/bar.o' works fine

#A make bug, or am I not using this right ?

libfoobar.a:	lobfoobar.a(foo.o) libfoobar.a(boggle/bar.o)

boggle/%.o:	FORCE
		$(MAKE) -C boggle -f ../makefile $(notdir $@)

.PHONY:		FORCE

setup:		FORCE
		mkdir boggle
		touch foo.cc
		touch boggle/bar.cc
Technical Details
Message-ID: <337@ucl-cs.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!gatech!tut.cis.ohio-state.edu!cs.utexas.edu!uunet!mcvax!ukc!strath-cs!nott-cs!ucl-cs!T.Day

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!gatech!tut.cis.ohio-state.edu!cs.utexas.edu!uunet!mcvax!ukc!strath-cs!nott-cs!ucl-cs!T.Day
From: T.Day@ucl-cs.UUCP
Newsgroups: gnu.utils.bug
Subject: GNU make 3.54 problem
Message-ID: <337@ucl-cs.UUCP>
Date: 14 Jul 89 14:23:57 GMT
Sender: T.Day@ucl-cs.UUCP
Lines: 27