public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Robert Wong <subdriver97@gmail.com>
To: "gcc-help@gcc.gnu.org" <gcc-help@gcc.gnu.org>
Subject: Makefile help request (config file)
Date: Sat, 29 Dec 2007 17:37:00 -0000	[thread overview]
Message-ID: <C39BC5BE.23BA%subdriver97@gmail.com> (raw)
In-Reply-To: <8bc817ee0712061635r2d4b1c7aj5cb61ccb9e4bdb2@mail.gmail.com>

In the two attached files:

1.Makefile
2.ct (script file)

I am trying to make multiple executables with the name SESC_DRIVER#, where
"#" is associated with a different config file for
mem-dram-mcsim-interface.o (using mem-dramsim-config-#.h).

Right now, I can use the Makefile with the following command line:
>make N='#'
But each time before I can use that command I must delete the existing
mem-dram-mcsim-interface.o otherwise the makefile won't make the
mem-dram-mcsim-interface.o with the new mem-dramsim-config-#.h.

I tried to write file 2 (ct) to delete the mem-dram-mcsim-interface.o and
invoke the make N='#' line but I think the script is having problems
recognizing the command line arguments ($1) in the form make N='$1' because
of the single quotes.

Thanks in advance for any help you can offer.

Rob


  reply	other threads:[~2007-12-29 17:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-06 22:15 Makefile help request Robert Wong
2007-12-07  0:35 ` Tom Browder
2007-12-29 17:37   ` Robert Wong [this message]
2007-12-29 17:42     ` FW: Makefile help request (config file) Robert Wong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=C39BC5BE.23BA%subdriver97@gmail.com \
    --to=subdriver97@gmail.com \
    --cc=gcc-help@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).