🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by William G. Bunton Tue, 11 Apr 1989 16:44
Make 3.45 not removing temporaries
#1547
Author: William G. Bunton
Date: Tue, 11 Apr 1989 16:44
50 lines
1846 bytes
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        
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads