Re: using dot_product from c++ II
On 1 mar, 10:14, "Gerry Ford" <inva...@invalid.net> wrote:
<jason.cipri...@gmail.com> wrote in message
news:e441b4a2-0c4f-4be4-a9b3-134c58d54b34@e23g2000prf.googlegroups.com...
On Feb 28, 10:57 pm, "Gerry Ford" <inva...@invalid.net> wrote:
If you have questions about Make, feel free to send me a
private email asking simple ones. But first, and for more
complex questions, check out:
http://www.gnu.org/prep/standards/html_node/Makefile-Conventions.html...
Most of what I see with makefiles is for linux users:
http://kanze.james.neuf.fr/code-en.html. The makefiles there
have been tested under solaris, Linux and Windows. (You'll have
to browze into the code to see them---directory Makefiles.)
I've since reworked them completely, to make them more flexible.
GNU make is Turing complete (at least since version 3.81), so
there's theoretically no limit as to what you can do with it.
And it's readily available on any Unix platform, or under
Windows.
Write the Makefile commands (and any shell scripts, such as
configure) to run in sh, not in csh. Don't use any special
features of ksh or bash.
In my rework, I strive to make the makefiles themselves not
depend on the presence of a shell at all. (In my actual code,
of course, a lot of the code is automatically generated using
shell scripts. But that's in the individual components, not in
the generic makefiles.)
The configure script and the Makefile rules for building and
installation should not use any utilities directly except
these:
awk cat cmp cp diff echo egrep expr false grep install-info
ln ls mkdir mv pwd rm rmdir sed sleep sort tar test touch true
This all looks like polish to me.
It shouldn't. Those are all tools used in everyday program
development, generally for the purposes of generating code. But
I'm surprised that lex and yacc (or their freeware equivalents
flex and bison) aren't in there. I use them fairly regularly.
--
James Kanze (GABI Software) email:james.kanze@gmail.com
Conseils en informatique orient=E9e objet/
Beratung in objektorientierter Datenverarbeitung
9 place S=E9mard, 78210 St.-Cyr-l'=C9cole, France, +33 (0)1 30 23 00 34