Hello List...

First off, this is my first time cooking up a `makefile', so I've been
reading the appropriate GNU Manual, and Googling like crazy. :)

I'm _not_ a commercial enterprise - just an old fart (63) programming
hobbyist, learning a new language (Oberon), and wanting to create a
Makefile to assist in compiling the source code.

The object files have a .k extension; source .m.
So I know that somewhere in my makefile I'll need:

.k:.m

I want to create a "generic" makefile such that I can say, e.g.:

make my_prog src_1 src_2 src_3 etc

where $(EXEX_FILE) = my_prog     # the executable
      $SRCS = src_1 src_2 src_3  # the source files from the CLI

Is that possible? TIA...
--
Duke

_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to