bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CLI macros


From: Duke Normandin
Subject: CLI macros
Date: Fri, 1 Oct 2010 11:34:31 -0600 (MDT)
User-agent: Alpine 2.00 (DEB 1167 2008-08-23)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]