Makefile error: Missing separator

545 views Asked by At

ALL,

Here is the beginning of my Makefile:

# =========================================================================
#     This makefile was generated by
#     Bakefile 0.2.9 (http://www.bakefile.org)
#     Do not modify, all changes will be overwritten!
# =========================================================================


@MAKE_SET@

prefix = /usr/local
exec_prefix = ${prefix}
datarootdir = ${prefix}/share
INSTALL = /usr/bin/install -c
EXEEXT = 
WINDRES = @WINDRES@
SETFILE = @SETFILE@
NM = /usr/bin/nm -B
BK_DEPS = @BK_DEPS@
srcdir = /home/igor/dbhandler/dbhandler
top_srcdir = /home/igor/dbhandler
LIBS = 
LDFLAGS_GUI = @LDFLAGS_GUI@
CXX = g++
CXXFLAGS = -g -O0 -std=c++11
CPPFLAGS = 
LDFLAGS = 
WX_LIB_FLAVOUR = @WX_LIB_FLAVOUR@
TOOLKIT = @TOOLKIT@
TOOLKIT_LOWERCASE = @TOOLKIT_LOWERCASE@
TOOLKIT_VERSION = @TOOLKIT_VERSION@
TOOLCHAIN_FULLNAME = @TOOLCHAIN_FULLNAME@
EXTRALIBS = @EXTRALIBS@
EXTRALIBS_XML = @EXTRALIBS_XML@
EXTRALIBS_GUI = @EXTRALIBS_GUI@
CXXWARNINGS = @CXXWARNINGS@
HOST_SUFFIX = @HOST_SUFFIX@
SAMPLES_RPATH_FLAG = @SAMPLES_RPATH_FLAG@
SAMPLES_CXXFLAGS = @SAMPLES_CXXFLAGS@
wx_top_builddir = @wx_top_builddir@

I am getting following error:

Makefile:8 missing seaparator. Stop.

Trouble is I don't think line 8 should be tabbed as it is just "@MAKE_SET@". But most importantly I wonder where this error coming from. I'm using Anjuta to generate the Makefile and just curious why this error shows up.

Thank you for any information.

1

There are 1 answers

1
vortexman100 On

In a makefile, you have a syntax like this:

all:
<tab>#yourcode

The tab is important. This isn't the right makefile syntax.