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 / 1017
1016  |  1018
Subject: 
Re: Makefile question
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Fri, 28 Apr 2000 22:27:05 GMT
Viewed: 
1328 times
  
In lugnet.robotics.rcx.legos, Michael Ash writes:
I finally have a project that's large enough and well-enough organized
that I have two .c files. (One holds fixed-point math routines.) Now, the
README file states "If you need more source files, add them in the
Makefile." My question is, what and where? I opened up the makefile, and
I just had no idea what to change or anything like that.

I'm using WinLegOS 0.2.2 with the 0.2.3 sources grafted in.

Thanks in advance.

--
"Our doubts are traitors, and make us lose the good we oft might win by
fearing to attempt." - William Shakespeare

Mike Ash - <http://www.mikeash.com/>, <mailto:mail@mikeash.com>

I have added random number generators to either of the c library, or to the
float library (v0.2.3, on Linux). What I did was cd to the lib/c (say)
directory, and deposit my source files there.
I then edited the Makefile in this directory, and added the filenames to the
line $(SOURCES) the names should be space seperated.

Save the make file and type make in this directory. The build is designed so
you can do this. When you have got rid of the errors, do a make clean, cd to
the top level directory and rebuild legOS. You should then be able to use your
functions.
Note - be sure they are well debugged, I locked up my RCX plenty doing this:-)

Stuart



Message is in Reply To:
  Makefile question
 
I finally have a project that's large enough and well-enough organized that I have two .c files. (One holds fixed-point math routines.) Now, the README file states "If you need more source files, add them in the Makefile." My question is, what and (...) (24 years ago, 21-Apr-00, to lugnet.robotics.rcx.legos)

2 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