当前位置: 技术问答>linux和unix
怎样在Makefile文件中在连接的前面指定一个搜索路径
来源: 互联网 发布时间:2015-12-23
本文导语: 我的Makefile文件有问题,编译时少一个路径,该在Makefile文件中哪个地方加 -I/aaa/bbb/ccc呢? 我的Makefile文件如下: SOURCES = $(Client_SOURCES) $(HAStatus_SOURCES) $(HAStatus_AC_SOURCES) $(Reschedule_SOURCES) $(Schedule_Timers_SOURCES) $(Timer_Cancel_S...
我的Makefile文件有问题,编译时少一个路径,该在Makefile文件中哪个地方加 -I/aaa/bbb/ccc呢?
我的Makefile文件如下:
SOURCES = $(Client_SOURCES) $(HAStatus_SOURCES) $(HAStatus_AC_SOURCES) $(Reschedule_SOURCES) $(Schedule_Timers_SOURCES) $(Timer_Cancel_SOURCES) $(Timer_State_Data_SOURCES) $(Timers_SOURCES)
srcdir = ../../../../examples/APG/Reactor
top_srcdir = ../../../..
VPATH = ../../../../examples/APG/Reactor
pkgdatadir = $(datadir)/ace
pkglibdir = $(libdir)/ace
pkgincludedir = $(includedir)/ace
top_builddir = ../../..
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
INSTALL = /usr/opt/freeware/bin/install -c
install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_HEADER = $(INSTALL_DATA)
transform = $(program_transform_name)
我的Makefile文件如下:
SOURCES = $(Client_SOURCES) $(HAStatus_SOURCES) $(HAStatus_AC_SOURCES) $(Reschedule_SOURCES) $(Schedule_Timers_SOURCES) $(Timer_Cancel_SOURCES) $(Timer_State_Data_SOURCES) $(Timers_SOURCES)
srcdir = ../../../../examples/APG/Reactor
top_srcdir = ../../../..
VPATH = ../../../../examples/APG/Reactor
pkgdatadir = $(datadir)/ace
pkglibdir = $(libdir)/ace
pkgincludedir = $(includedir)/ace
top_builddir = ../../..
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
INSTALL = /usr/opt/freeware/bin/install -c
install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_HEADER = $(INSTALL_DATA)
transform = $(program_transform_name)
|
-I/search_path