Make.lip - specifying target?

Jeremy Cowgar jeremy at cowgar.com
Tue Aug 25 10:40:49 UTC 2009


> I think the make.lip should be different on different platforms. Editing
> make.lip seems the best way to do in my opinion. And if we do a Windows
> package, it should be done in it I think.

That seems like a lot of duplicate work. I am not sure, exactly, how
make.lip get's run, but shouldn't it be possible for the lisaac command
to tell (maybe by setting a variable) the make.lip what platform it is
running on? I envision something like:

  target :STRING := "unix"; // force the unix target

  OR

  target:STRING := ""; // Decide the target internally

  - get_target <-
  (
    (target = "dos").if {
      dos_target;
    };
    (target = "windows").if {
      windows_target;
    };
    (target = "unix").if {
      unix_target;
    };
    (target = "java").if {
      java_target;
    };
    (target = "").if {
      target := current_platform;
    };
  );

current_platform being something that lisaac responds to directly, such
as run.

It is very easy for lisaac to know what the executing platform is.

-- 
Jeremy Cowgar <jeremy at cowgar.com>




More information about the Lisaac-devel mailing list