home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.msdos.programmer
- Path: sparky!uunet!sun-barr!cs.utexas.edu!tamsun.tamu.edu!tpradeep
- From: tpradeep@cs.tamu.edu (Pradeep K Tapadiya)
- Subject: Is this a "make" limitation?
- Message-ID: <1992Jul21.162641.5897@tamsun.tamu.edu>
- Sender: news@tamsun.tamu.edu (Read News)
- Organization: Computer Science Department, Texas A&M University
- Date: Tue, 21 Jul 1992 16:26:41 GMT
- Lines: 37
-
- Howdy friends,
-
- I am wondering if I can increase my developement time and reduce the
- wear and tear on the disk by using a better makefile construct.
-
- Background Info:
- MSDOS 5
- Microsoft `C' 7.0 compiler
- Microsoft nmake (make utility)
-
- Given, say, 30 dependent files, my makefile compiles the source files as
-
- cl -c a.c
- cl -c b.c
- cl -c c.c
-
- and so on for all those source files which are out of date.
-
- Obviously, for each such source file there is an overhead of
- loading and releasing the compiler. A better construct would be
-
- cl -c a.c b.c c.c ...
-
- wherein the compiler is loaded and released just once.
-
- Note that the command string needs to be constructed dynamically
- depending on the out of date source files.
-
- Question:
- Is there a way to achieve this using "any" make utility ?
- ( nmake, borland make , or any public domain or shareware make)
-
- Thank you for your help. If need be, I'll summerize the responses
- on the net.
-
- Pradeep
- tpradeep@cs.tamu.edu
-