help-make
[Top][All Lists]
Advanced

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

make failing, tabs are fine, missing separator


From: Russell King
Subject: make failing, tabs are fine, missing separator
Date: Tue, 8 Jan 2008 21:30:45 -0500

Trying to do make on the app is failing.  Tabs for make files are good.  I am getting the following errors:

Makefile:23: *** missing separator.  Stop.

This happens right after the line:

all:

    (cd src;$(MAKE))

in ./Makefile.  Also note, there is no subdir.mk and include.mk in main folder or the sub folder.  Here is my Makefile contents for the main Makefile and sub folder Makefile.

Thanks
Russ
=================
./Makefile contents:

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

APP_NAME=lama



all:

    (cd src;$(MAKE))



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)



reply via email to

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