Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Jun 2009 23:52:17 -0500 (CDT)
From:      Lars Eighner <luvbeastie@larseighner.com>
To:        freebsd-questions@freebsd.org
Subject:   General and specific make questions
Message-ID:  <20090607235205.H85986@qroenaqrq.6qbyyneqvnyhc.pbz>

next in thread | raw e-mail | index | archive | help

What I need most is to find (a) make tutorial(s) that do not suppose make is
being used for compling c/c++ programs.  Yes, I know, that is mostly why
make exists, but many tutorials plunge right into C examples with implicit C
rules, while -- it seems to me -- make could be much more useful for a
variety of things, and I could sure use more of the general and arbitrary
examples.

Second, it appears to me that the pmake document in the books section of the
documentation is not longer in sync with make as actually installed in
FreeBSD 7.x.  In particular, the pmake doc refers to switches which make no
longer recognizes and which do not have clear replacements in man make.

Now for my particular question.

I have some sources which may or may not exist.  My target should be rebuilt
if a source exists that is younger than the target.  But sources that do
not exist should be ignored and make should not be perplexed over how to
create them.  How do I express that kind of relationship?

-- 
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090607235205.H85986>