How can this be done in windows based C compilers like PellesC ??
I know I can do it by selecting "Add To Project" from my integrated
development package "Project" menu, and specifying all the source
files, object files, and libraries that I want to comprise my target
executable.
Of course, it's not really documented or obvious what a "project"
is, because to the guys who developed my integrated development
environment a "project" may be a library, DLL, object file, a "component",
a "package", or about three or four other things, or maybe, just
maybe, an executable...but if your "target" is an executable,
adding all the source, object, and library files makes it work
pretty much like a makefile, without all the typing (just a lot
of mouse work!).
In other words, I don't know about YOUR development package,
but I suspect you have a "make" utility somewhere...for me, I can
import or export makefiles to/from the integrated development
environment, or just use a makefile as is, because the whole
software package includes "make" and a command-line
compiler/linker.
Is
it possible to write a makefile or use the cc- o option as available
in unix/linux ??
Dunno. See above.
does anyone know of good makefile tutorials ??
Hell, if people can't be bothered to properly document their
proprietary idiotic integrated development environments so
people can actually use them, what are the chances that anybody
ever bothered to explain "make" properly? Everything I ever knew
about "make" came from a Unix man page, so make of that
what you will...
(I appologize if this is offtopic but I couldn't think of a better
place to ask this question)
I wonder if there actually is a group dedicated to "make"...and
if anybody actually posts to it...but if they don't, it's still YOUR
fault for asking about it here!