T.Day@ucl-cs.UUCP (07/14/89)
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