当前位置: 技术问答>linux和unix
添加-ljpeg,在Makefile.am應該怎麼寫呢
来源: 互联网 发布时间:2016-03-31
本文导语: Makefile添加-ljpeg,在Makefile.am應該怎麼寫呢 才能使automake產生合適的內容呢 thx | AUTOMAKE_OPTIONS = foreign bin_PROGRAMFS = hello hello_SOURCES = hello.c hello_LDADD= -L/usr/local/ -ljpeg INCLUDES = -I /usr/local/include/ export...
Makefile添加-ljpeg,在Makefile.am應該怎麼寫呢
才能使automake產生合適的內容呢
thx
才能使automake產生合適的內容呢
thx
|
AUTOMAKE_OPTIONS = foreign
bin_PROGRAMFS = hello
hello_SOURCES = hello.c
hello_LDADD= -L/usr/local/ -ljpeg
INCLUDES = -I /usr/local/include/
export INCLUDES
bin_PROGRAMFS = hello
hello_SOURCES = hello.c
hello_LDADD= -L/usr/local/ -ljpeg
INCLUDES = -I /usr/local/include/
export INCLUDES