]> sourceware.org Git - glibc.git/commitdiff
* Makefile (parent-mostlyclean): Don't use $(libc.a).
authorRoland McGrath <roland@gnu.org>
Tue, 21 Mar 1995 04:26:12 +0000 (04:26 +0000)
committerRoland McGrath <roland@gnu.org>
Tue, 21 Mar 1995 04:26:12 +0000 (04:26 +0000)
(parent-clean): Use $(objpfx) to find sysd-*.
* Rules (generated): Append dummy.o dummy.c.

ChangeLog
Makefile
Rules

index 7efbe7b58182ac03f3012fb505d0557013530f12..dfaaf624e1937a06ddb2a3d85d2257f8c70af827 100644 (file)
--- 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)
index 4f76bc14c0605fa04e7b0a16e87a76715e77bf9b..beabbccc7f3f2cdb6d792004fef3dcda7e29b26a 100644 (file)
--- 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 df944e4c9052a4171d3273db4c2c3b49120ee6bc..b0187d9d5eb6d496b1dc157c57dbdb304d03b616 100644 (file)
--- 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
 \f
 # This makes all the auxilliary and test programs.
 
This page took 0.052893 seconds and 5 git commands to generate.