ALL,
这是我的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@
我收到以下错误:
Makefile:8缺少seaparator。停止。
麻烦的是我不认为第8行应该是标签,因为它只是" @MAKE_SET @"。但最重要的是,我想知道这个错误来自哪里。我使用Anjuta生成Makefile,只是好奇为什么会出现这个错误。
感谢您提供任何信息。
答案 0 :(得分:-1)
在makefile中,你有这样的语法:
all:
<tab>#yourcode
标签很重要。这不是正确的makefile语法。