* Makefile (parent-mostlyclean): Don't use $(libc.a).

(parent-clean): Use $(objpfx) to find sysd-*.
	* Rules (generated): Append dummy.o dummy.c.
This commit is contained in:
Roland McGrath 1995-03-21 04:26:12 +00:00
parent 4788ab4637
commit 6bf028786c
3 changed files with 6 additions and 2 deletions

View File

@ -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)

View File

@ -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

1
Rules
View File

@ -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.