home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.questions
- Path: sparky!uunet!mcsun!sunic!sics.se!eua.ericsson.se!ericom!eos.ericsson.se!etxmesa
- From: etxmesa@eos.ericsson.se (Michael Salmon)
- Subject: Re: make, makefile where s.'s are in another directory, clean solution ?
- Message-ID: <1992Nov23.092525.1396@ericsson.se>
- Keywords: make
- Sender: news@ericsson.se
- Nntp-Posting-Host: eos6c02.ericsson.se
- Reply-To: etxmesa@eos.ericsson.se (Michael Salmon)
- Organization: Ericsson Telecom AB
- References: <1992Nov20.140313.32637@europa.asd.contel.com>
- Date: Mon, 23 Nov 1992 09:25:25 GMT
- Lines: 24
-
- In article <1992Nov20.140313.32637@europa.asd.contel.com>, mclemore@rebec.asd.contel.com (Ken McLemore) writes:
- |> we like to keep all our "s." files in one source directory and run makes
- |> in other directory during development, looking for a clean solution for
- |> these "s." dependencies other than an explicit entry for each ".c" that
- |> has macro pathing to the source directory.
- |> suggestions, thanks in advance....ken
-
- I guess that you are using SCCS and if so then the make that comes with
- your system will look for sources in directory SCCS below the current
- one, check your man page for make. If you have symbolic links then it
- is a snap to create a link to the common source directory. Also make
- supports the suffix ~ which is translated to the prefix SCCS/s. . I
- hope that this answers your question.
-
- --
-
- Michael Salmon
-
- #include <standard.disclaimer>
- #include <witty.saying>
- #include <fancy.pseudo.graphics>
-
- Ericsson Telecom AB
- Stockholm
-