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 / 1928
    Multiple source files —Michael James
   How can I reconfigure the makefiles to allow me to create a .lx file from multiple .cpp files? I am not familiar with the compiler and its tools. (23 years ago, 13-Jul-01, to lugnet.robotics.rcx.legos)
   
        Re: Multiple source files —Pat Welch
   Hi, Assuming you have a.C and b.C, and you want to build b.lx, then the following Makefile fragment will work, if you patch your Makefile.user as given below. **** Begin Makefile Fragment **** all: b.lx # Specify all targets to build b.ds1 b.ds2: (...) (23 years ago, 16-Jul-01, to lugnet.robotics.rcx.legos)
   
        Re: Multiple source files —Stephen M. Moraco
   (this comes up because I'm finally trying to incorporate these changes into the next release of legOS... -Stephen) (...) This part didn't work for me! The dependency only rule didn't work. I'm running on Debian (GNU make 3.79.1, as shown by 'make (...) (23 years ago, 28-Apr-02, to lugnet.robotics.rcx.legos)
 

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