Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!tntdev.tnt.com!wgb From: wgb@tntdev.tnt.com (William G. Bunton) Newsgroups: gnu.utils.bug Subject: Make 3.45 not removing temporaries Message-ID: <8904111644.AA20565@tntdev.tnt.COM> Date: 11 Apr 89 16:44:16 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 50 This is on 386/ix 2.0.1. Make was compiled with gcc 1.34 using COFF encapsulation. Given the following Makefile, make 3.45 should remove a.o before terminating: ---------- cut here ---------- # # make should remove a.o after updating the library, but it doesn't # LIB=test.a OBJS=$(LIB)(a.o) $(LIB): $(OBJS) ---------- cut here ---------- As you can see from the following, a.o remains after make is done. ---------- begin script ---------- ksh1 [445]$ cd tmp ksh1 [446]$ ls -l total 6 -rw-r--r-- 1 wgb tnt 120 Apr 11 09:15 Makefile -rw-r--r-- 1 wgb tnt 135 Apr 11 09:11 Makefile~ -rw-r--r-- 1 wgb tnt 6 Apr 11 09:12 a.c -rw-r--r-- 1 wgb tnt 332 Apr 11 09:12 a.o -rw-r--r-- 1 wgb tnt 608 Apr 11 09:12 test.a ksh1 [447]$ rm a.o ksh1 [448]$ touch a.c ksh1 [449]$ make cc -c a.c ar rv test.a a.o r - a.o ksh1 [450]$ ls -l total 6 -rw-r--r-- 1 wgb tnt 120 Apr 11 09:15 Makefile -rw-r--r-- 1 wgb tnt 135 Apr 11 09:11 Makefile~ -rw-r--r-- 1 wgb tnt 6 Apr 11 09:16 a.c -rw-r--r-- 1 wgb tnt 332 Apr 11 09:16 a.o -rw-r--r-- 1 wgb tnt 608 Apr 11 09:16 test.a ksh1 [451]$ ---------- end script ---------- Bill -- William G. Bunton wgb@tntdev.tnt.com {uunet,natinst}!tntdev!wgb Tools & Techniques, Inc. Austin, TX