Re: issues with using TARGET compilation argument

  • From: <tpgww@xxxxxxxxxxx>
  • To: emelfm2@xxxxxxxxxxxxx
  • Date: Wed, 5 Dec 2012 20:29:36 +1100

On Wed, 5 Dec 2012 09:54:52 +0100
Liviu Andronic <landronimirc@xxxxxxxxx> wrote:

> On Tue, Dec 4, 2012 at 1:05 AM,  <tpgww@xxxxxxxxxxx> wrote:
> > The variable TARGET used in the Makefile is not persistent, unless you 
> > actually edit the relevant line in Makefile.config.
> >
> 
> > Otherwise, you'd need to specify the variable in each make command.
> >
> I think that this would achieve exactly what I need. I'm not very
> familiar with makefiles, though. What do you mean by 'specify the
> variable in each make command'? Could you give an example or two?

Presuming that Makefile.config has been modified to allow overriding TARGET (as 
per recent post):

make WITH_GTK2=1 TARGET=emelfm2-svn
make TARGET=emelfm2-svn install
make TARGET=emelfm2-svn uninstall
make TARGET=emelfm2-svn clean

Maybe TARGET can be exported to an environment variable. I've bothered to 
figure out how that stuff works.

Regards
Tom


-- 
Users can unsubscribe from the list by sending email to 
emelfm2-request@xxxxxxxxxxxxx with 'unsubscribe' in the subject field or by 
logging into the web interface.

Other related posts: