Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!clyde!cbosgd!cwruecmp!hal!ncoast!allbery From: allbery@ncoast.UUCP (Brandon Allbery) Newsgroups: comp.unix.wizards Subject: Re: RCS vs. SCCS and make Message-ID: <2615@ncoast.UUCP> Date: Wed, 10-Jun-87 20:25:10 EDT Article-I.D.: ncoast.2615 Posted: Wed Jun 10 20:25:10 1987 Date-Received: Sun, 21-Jun-87 08:02:48 EDT References: <41@esosun.UUCP> <20393@sun.uucp> <42@loki.esosun.UUCP> Reply-To: allbery@ncoast.UUCP (Brandon Allbery) Followup-To: comp.unix.wizards Organization: Cleveland Public Access UN*X, Cleveland, Oh Lines: 41 As quoted from <42@loki.esosun.UUCP> by pete@esosun.UUCP (Pete Ware): +--------------- | I mentioned make because I also wanted to know those systems that I | can count on typing "make" and have it retrieve the appropriate files | from SCCS/RCS without having to go and check out every file in sight. +--------------- Well, if you're willing to forego the RCS directory (TDI's and ncoast's versions of SCCS don't have subdirectories, so I never bothered to use RCS subdirectories), you can build RCS-handling make dependencies. I generally put an "include $(HOME)/.makedefs" in my Makefiles; this file sets SHELL to /bin/sh (since I use csh) and sets up the following rules: CO = co .SUFFIXES: .c,v .h,v .c,v.o: $(CO) -q $*.c $(CC) $(CFLAGS) -c $*.c /bin/rm -f $*.c .c,v.c: $(CO) -q $*.c .h,v.h: $(CO) -q $*.h It works fine, with a standard SysIII/SysV augmake. The only minor problem is that .h files checked out don't get removed afterward; I usually keep .h files checked out anyway, so it doesn't bother me much. ++Brandon -- Copyright (C) 1987 Brandon S. Allbery. Redistribution permitted only if the redistributor permits further redistribution. ---- Moderator for comp.sources.misc ---- Brandon S. Allbery {decvax,cbosgd}!cwruecmp!ncoast!allbery aXcess Company {ames,mit-eddie,talcott}!necntc!ncoast!allbery 6615 Center St. #A1-105 necntc!ncoast!allbery@harvard.HARVARD.EDU Mentor, OH 44060-4101 +01 216 974 9210 (also eddie.MIT.EDU)