aboutsummaryrefslogtreecommitdiff
path: root/Rules
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1996-07-20 12:06:21 +0000
committerRoland McGrath <roland@gnu.org>1996-07-20 12:06:21 +0000
commitf0097fa0df4898e1bd1ad06a5b3aadeda19fa173 (patch)
tree04e8975714d51d1ad2076e0ebd60d068bb75f634 /Rules
parent73f7f68ba36f904d85f56c0c3e602b707f132069 (diff)
downloadglibc-f0097fa0df4898e1bd1ad06a5b3aadeda19fa173.zip
glibc-f0097fa0df4898e1bd1ad06a5b3aadeda19fa173.tar.gz
glibc-f0097fa0df4898e1bd1ad06a5b3aadeda19fa173.tar.bz2
Thu Jul 18 12:33:57 1996 Roland McGrath <roland@baalperazim.frob.com>
* Rules (dummy.o, empty.o): Targets removed. (dummy.c, empty.c): New targets replace them. See ChangeLog.5 for earlier changes.
Diffstat (limited to 'Rules')
-rw-r--r--Rules13
1 files changed, 5 insertions, 8 deletions
diff --git a/Rules b/Rules
index 1eae320..665ac0f 100644
--- a/Rules
+++ b/Rules
@@ -66,14 +66,11 @@ dep-dummy-lib = $(objpfx)dummy.o
define make-dummy-lib
$(AR) cr$(verbose) $@ $<
endef
-$(objpfx)dummy.o:
- @rm -f $(@:.o=.c)
- echo 'void __dummy__ () { }' > $(@:.o=.c)
- $(CC) -c $(@:.o=.c) -o $@
-$(objpfx)empty.o:
- @rm -f $(@:.o=.c)
- echo '' > $(@:.o=.c)
- $(CC) -c $(@:.o=.c) -o $@
+$(objpfx)dummy.c:
+ rm -f $@
+ echo 'void __dummy__ () { }' > $@
+$(objpfx)empty.c:
+ cp -f /dev/null $@
generated := $(generated) dummy.o dummy.c empty.c empty.o
# This makes all the auxilliary and test programs.