Article View: comp.os.msdos.programmer
Article #3451NDMAKE and RCS
From: Mark Wright
Date: Wed, 30 Sep 1992 23:52
Date: Wed, 30 Sep 1992 23:52
37 lines
1507 bytes
1507 bytes
can anyone explain why the following makefile works:
.c%v.c:; co $@
sccommon.h: rcs\sccommon.h%v
co sccommon.h
(heres the trace)
*** Read c:\develop\bin\unix\make.ini ***
*** Done c:\develop\bin\unix\make.ini ***
*** Read Makefile ***
*** Done Makefile ***
*** Tracing NDMAKE ***
sccommon.h Doesn't exist
rcs\sccommon.h%v +
^----------- is newer than sccommon.h
==========================================================================
But this one doesn't:
co sccommon.h
sccommon.h
.h%v.h:; co $@
sccommon.h: rcs\sccommon.h%v
*** Read c:\develop\bin\unix\make.ini ***
*** Done c:\develop\bin\unix\make.ini ***
*** Read Makefile ***
*** Done Makefile ***
*** Tracing NDMAKE ***
sccommon.h Doesn't exist
rcs\sccommon.h%v +
^----------- is newer than sccommon.h
--
Mark Wright
wright@epx.cis.umn.edu
Technical Details
Message-ID:
<1992Sep30.235233.10082@news2.cis.umn.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!pmafire!news.dell.com!swrinde!zaphod.mps.ohio-state.edu!wupost!sdd.hp.com!spool.mu.edu!umn.edu!staff.tc.umn.edu!wrightShow Full Headers
Complete Article Headers
Newsgroups: comp.os.msdos.programmer Path: arc1-ca.pugleaf.net!sparky!uunet!pmafire!news.dell.com!swrinde!zaphod.mps.ohio-state.edu!wupost!sdd.hp.com!spool.mu.edu!umn.edu!staff.tc.umn.edu!wright From: wright@staff.tc.umn.edu (Mark Wright) Subject: NDMAKE and RCS Message-ID: <1992Sep30.235233.10082@news2.cis.umn.edu> Summary: I'm having an implicit rule problem. Sender: news@news2.cis.umn.edu (Usenet News Administration) Nntp-Posting-Host: staff.tc.umn.edu Organization: University of Minnesota Date: Wed, 30 Sep 1992 23:52:33 GMT Lines: 37