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 / 1748
  showing my ignorance of makefiles :)
 
Hi, once again a stupid problem :) .. I've just moved all my code over from procedural C , to nice object orientated C++ legos code... the problem is... how does one compile in more than one file, at the minute I get around it by including my files (...) (24 years ago, 5-Mar-01, to lugnet.robotics.rcx.legos)
 
  Re: showing my ignorance of makefiles :)
 
(...) Hi- You need to compile the the source files into object files with "make blah.o", replacing blah with the "blah" in blah.cpp. Then, just add the .o file names to DOBJECTS in the Makefile. HTH, --Quentin (23 years ago, 3-Jun-01, to lugnet.robotics.rcx.legos)

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