swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tinkering with the code...


From: Ken Cline
Subject: Re: tinkering with the code...
Date: Mon, 4 Aug 1997 12:52:52 -0400 (EDT)

If you simply change the code in one of the existing files
then you should only need to type "make" from the command
line.  The make script will recompile the altered files and
any files that depend on the altered files and create the
"heatbugs" executable.

If you decide to create a new class/file then you'll want to
add the name of that file to the Makefile so that it will be
compiled and linked into the executable.

The kind folks at SFI have made it real easy to add a new
class:

      New class: myObject

      Files: myObject.h, myObject.m

      Changes to the Makefile:

          OBJECTS = \
               ...
             myObject.o
               ...

          main.o: ... myObject.h ...

          ...

          myObject.o: myObject.m myObject.h

          ...


Note: if the main.o doesn't depend on the new class then
      you would have to put "myObject.h" as a dependency
      for the main.o target; however it doesn't hurt to
      do it anyway.

Ken.



On Mon, 4 Aug 1997 address@hidden wrote:

> Hi,
> This might be a naive question, but since I'm new to this platform
> etc...if I tinker with the code, to remake the app (heatbugs), do I just
> go in and change the makefile, or if I only have to make it again?
> 
> Thanks,
> Brad.
> 
>                   ==================================
>    Swarm-Support is for discussion of the technical details of the day
>    to day usage of Swarm.  For list administration needs (esp.
>    [un]subscribing), please send a message to <address@hidden>
>    with "help" in the body of the message.
>                   ==================================
> 

_________________________________________________________
Ken Cline                             address@hidden
SAIC                                 VOICE (410) 571-0413
Annapolis, MD                          FAX (301) 261-8427


                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.
                  ==================================


reply via email to

[Prev in Thread] Current Thread [Next in Thread]