Here is what I have.  I just took out only 1 line.

when I do make I still get this error:

make: *** No rule to make target `(cd', needed by `all'.  Stop.
=====================
./Makefile contents:

APP_NAME=lama

all:
    (cd src;$(MAKE))
#; $(MAKE) -C src

clean:
    (cd src;$(MAKE) clean)

release:    clean appfile
    sh ../../support/create_release.sh

appfile:
    (cd src;$(MAKE) ../ebin/$(APP_NAME).app)

docs:
    erl -noshell -run edoc_run application "'$(APP_NAME)'" \
       '"."' '[{def,{vsn,"$(VSN)"}}]' -s init stop

========================
./src/Makefile contents:

include ../vsn.mk

#include ../../../support/include.mk

ERLC_FLAGS  += -I../include

ERL_OBJECTS += $(EBIN_DIR)/lama.app

all: $(ERL_OBJECTS)

clean:
    -rm $(ERL_OBJECTS)

=============================================================
On Jan 9, 2008 11:59 AM, Dave Korn <[EMAIL PROTECTED]> wrote:

> On 09 January 2008 16:16, Russell King wrote:
>
> > I did take out the extra line.  I get an error:
> >
> > make: *** No rule to make target `(cd', needed by `all'.  Stop.
> >
> > russ
>
>  That suggests that you've not just deleted the blank line, but also
> joined
> the two lines together, i.e. your makefile used to say
>
> ------------------------------------------
> all:
>
>        (cd src;$(MAKE))
> ------------------------------------------
>
> and now it says
>
> ------------------------------------------
> all:   (cd src;$(MAKE))
> ------------------------------------------
>
> when what I was trying to suggest is that it should say
>
> ------------------------------------------
> all:
>        (cd src;$(MAKE))
> ------------------------------------------
>
>
>    cheers,
>      DaveK
> --
> Can't think of a witty .sigline today....
>
>
_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to