Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: Notesfiles $Revision: 1.7.0.10 $; site uiucdcsb Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxn!ihnp4!inuxc!pur-ee!uiucdcs!uiucdcsb!mcdaniel From: mcdaniel@uiucdcsb.CS.UIUC.EDU Newsgroups: net.unix-wizards Subject: make questions Message-ID: <14900040@uiucdcsb> Date: Fri, 14-Feb-86 19:35:00 EST Article-I.D.: uiucdcsb.14900040 Posted: Fri Feb 14 19:35:00 1986 Date-Received: Sun, 16-Feb-86 04:41:52 EST Lines: 30 Nf-ID: #N:uiucdcsb:14900040:000:1015 Nf-From: uiucdcsb.CS.UIUC.EDU!mcdaniel Feb 14 18:35:00 1986 (1) Is "The Fourth Generation Make" publicly available? If not, will it be soon? (2) A friend would like to perform the following task for each *.c file younger than gen.a cc -c -g that file ar ruv gen.a *.o ranlib gen.a rm *.o He has a shell script of about 15 lines; I'd like to see if it can be done in make (BSD 4.2). Is it possible, easy and efficient, or is it better to use the shell script? (Notes: there are about 500 .c files, and more may be added later: the makefile should not have to be edited just for more source files, and make variable storage may overflow. Only .o files for newly-edited .c files will exist, and then only for a few moments.) ------------------ Tim McDaniel; CSRD at the Silicon Prairie (Center for Supercomputing Research and Development at the University of Illinois at Urbana-Champaign) Internet: mcdaniel@uicsrd.csrd.uiuc.edu (Or try: mcdaniel%uicsrd.csrd@uiuc.edu) Arpa, for old mailers: mcdaniel@Uiuc.arpa Usenet: ...{pur-ee|ihnp4|convex}!uiucdcs!mcdaniel