To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.legosOpen lugnet.robotics.rcx.legos in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / legOS / 901
900  |  902
Subject: 
Another possible makefile change
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Mon, 6 Mar 2000 03:06:20 GMT
Viewed: 
1251 times
  
Since under Windows we must specify the PERL program name, unlike Unix and
variants which figure out what to do automagically, I suggest this change in
makefile.common:

Under Windows (assumes the perl program is on the PATH):
PERL = perl

Under Unix/Linux (leave it empty):
PERL =

Then we can modify the perl script commands to this:

MERGEMAP = $(PERL) $(LEGOS_ROOT)util/merge-map

Is there a way to make the assignment conditionally?  I haven't found an
internal variable in Make that specifies the OS.

Rossz



Message has 1 Reply:
  Re: Another possible makefile change
 
(...) Although *nix system's try to figure out the interpreter for a script if you don't provide it, it doesn't harm to do so. Thus, actually you dont't have to distinct 2 cases here. We could simply use the MERGEMAP you suggest for all currently (...) (25 years ago, 7-Mar-00, to lugnet.robotics.rcx.legos)

9 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR