swarm-support
[Top][All Lists]
Advanced

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

Re: Makefile


From: Jan Kreft
Subject: Re: Makefile
Date: Wed, 23 Jun 1999 16:29:21 +0100 (BST)

Hi,

maybe you have to list all object files in one line (or continue the line
with \). Don't know whether you had only one line originally. Maybe try it
without subdirs, if it doesn't work then, there is something else wrong.

HTH, Jan.

On Wed, 23 Jun 1999, xueyue wrote:

> Gary Polhill wrote:
> > 
> > xueyue wrote:
> > >
> > > =============Makefile=======================
> > > ifeq ($(SWARMHOME),)
> > > SWARMHOME=/usr
> > > endif
> > > APPLICATION=mats
> > > OBJECTS=main.o traveller/Traveller.o clock/CurrentTime.o ModelSwarm.o
> > > node/MATSNodeItem.o node/MATSLinkItem.o router/RouteFinder.o
> > > include $(SWARMHOME)/etc/swarm/Makefile.appl
> > > main.o: main.m ModelSwarm.h
> > > router/RouteFinder.o: router/RouteFinder.h router/RouteFinder.m
> > > ==============End====================================
> > >
> > >
> > > Are there somethings missing in my Makefile?
> > >
> > I think maybe you need the following lines at the end:
> > 
> > traveller/Traveller.o: traveller/Traveller.h traveller/Traveller.m
> > clock/CurrentTime.o: clock/CurrentTime.h clock/CurrentTime.m
> > node/MATSNodeItem.o: node/MATSNodeItem.h node/MATSNodeItem.m
> > node/MATSLinkItem.o: node/MATSLinkItem.h node/MATSLinkItem.m
> > 
> > (just as you do for router/RouteFinder.o)
> > 
> 
> No, that is not the problem here. I can add this to 
> Makefile, but the result is the same. 
> 
> I assumed that put a:
> 
> dir/file.o: dir/file.h dir/file.m 
> 
> make will produce a dir/file.o
> 
> Maybe I need a command line (but I do not know what) at the beginning of
> the Makefile.


                  ==================================
   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]