help-make
[Top][All Lists]
Advanced

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

Re: Probably a simple question


From: Boris Kolpackov
Subject: Re: Probably a simple question
Date: Mon, 22 Nov 2004 22:43:01 +0000 (UTC)
User-agent: nn/6.6.5+RFC1522

Alex Olivas <address@hidden> writes:

> VPATH = src object
>
> APPLICATION=bin/bug
> APPVERSION=2.1
> address@hidden
> OBJECTS= object/main.o  object/Bug.o
> include $(SWARMHOME)/etc/swarm/Makefile.appl
>
> SWARMINCLUDES += -I include
>
> object/main.o: src/main.m include/Bug.h
> object/Bug.o: include/Bug.h src/Bug.m
>
> The error I get when I try to make after these changes is...

In Makefile.rules you have

.m.o:
        $(OBJC) -c ... $<

This rule dumps the object file into the current directory (instead
of object/). Try changing it to read:

.m.o:
        $(OBJC) -c ... $< -o $@







reply via email to

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