Alex Olivas <[EMAIL PROTECTED]> writes:

> VPATH = src object
>
> APPLICATION=bin/bug
> APPVERSION=2.1
> [EMAIL PROTECTED]
> 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 $@





_______________________________________________
Help-make mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to