Sat Jun 22 10:44:09 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
authorroland <roland>
Sat, 22 Jun 1996 22:05:13 +0000 (22:05 +0000)
committerroland <roland>
Sat, 22 Jun 1996 22:05:13 +0000 (22:05 +0000)
* Makerules [! objects] (subdir_lib): Depend on the stamp$o files.
(stamp$o files): New targets, create them empty, no deps.

Makerules

index f995fe3..7f4b5fd 100644 (file)
--- a/Makerules
+++ b/Makerules
@@ -375,7 +375,13 @@ libobjs: $(foreach o,$(object-suffixes),\
 lib-noranlib: libobjs
 others: $(addprefix $(objpfx),$(install-lib))
 
-ifdef objects
+ifndef objects
+
+# Create the stamp$o files to keep the parent makefile happy.
+subdir_lib: $(foreach o,$(object-suffixes),$(objpfx)stamp$o-$(subdir))
+$(foreach o,$(object-suffixes),$(objpfx)stamp$o-$(subdir)):
+       rm -f $@; > $@
+else
 
 # Define a pattern rule that will match many targets libc.a(foo.%), for
 # each foo.o in $(objects) (% will just happen always to match `o').  This is