FW: Makefile help request (config file)

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

 



Probably help if I attached the files...

------ Forwarded Message
From: Robert Wong <subdriver97@xxxxxxxxx>
Date: Sat, 29 Dec 2007 09:37:02 -0800
To: "gcc-help@xxxxxxxxxxx" <gcc-help@xxxxxxxxxxx>
Conversation: Makefile help request (config file)
Subject: Makefile help request (config file)

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

------ End of Forwarded Message

Attachment: ct
Description: Binary data

Attachment: Makefile
Description: Binary data


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux