about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--Makefile4
-rw-r--r--Rules1
3 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 7efbe7b581..dfaaf624e1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 Mon Mar 20 03:19:23 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
 
+	* Makefile (parent-mostlyclean): Don't use $(libc.a).
+	(parent-clean): Use $(objpfx) to find sysd-*.
+	* Rules (generated): Append dummy.o dummy.c.
 	* Makerules (lib): Depend on lib-noranlib.
 	(lib-noranlib): Depend on $(install-lib) in objdir.
 	(common-mostlyclean): Remove $(install-lib) and stub-$(subdir)
diff --git a/Makefile b/Makefile
index 4f76bc14c0..beabbccc7f 100644
--- a/Makefile
+++ b/Makefile
@@ -171,10 +171,10 @@ $(all-subdirs-targets):
 
 # Subroutines of all cleaning targets.
 parent-mostlyclean: common-mostlyclean # common-mostlyclean is in Makerules.
-	-rm -f $(libc.a) $(addprefix $(objpfx),$(install-lib))
+	-rm -f $(common-objpfx)libc.a $(addprefix $(objpfx),$(install-lib))
 parent-clean: parent-mostlyclean common-clean
 	-rm -f $(addprefix $(common-objpfx),$(common-generated))
-	-rm -f $(addprefix $(+sysdir_pfx),sysd-Makefile sysd-dirs sysd-rules)
+	-rm -f $(addprefix $(objpfx),sysd-Makefile sysd-dirs sysd-rules)
 
 clean: parent-clean
 # This is done this way rather than having `subdir_clean' be a
diff --git a/Rules b/Rules
index df944e4c90..b0187d9d5e 100644
--- a/Rules
+++ b/Rules
@@ -67,6 +67,7 @@ $(objpfx)dummy.o:
 	@rm -f $(@:.o=.c)
 	echo 'void __dummy__ () { }' > $(@:.o=.c)
 	$(CC) -c $(@:.o=.c) -o $@
+generated := $(generated) dummy.o dummy.c
 
 # This makes all the auxilliary and test programs.