Linux下Makefile的automake生成全攻略_.PDF
168()(www.GongSiW)
/
:
PLC
Flash--
:
-> -> Linux -> LinuxMakefileautomake
SrvReporLinu… Delphi for Linux…
LinuxMakefileautomake
2005-12-18 23:24:02 346 LyRobo
linuxmakefilemake
makefilemakefile
autoconfautomake
makefilegnu“./configure”“make”“make instal”
linux
toy
makefile
makefile
makefilemake
makefile
makefilemakefile
makefile
makefilemakefileautomake
automakeautoconf
configureautomakemakefile.inconfiguremakefile.in
makefilemakefileautomake
linuxfedora core release 1autoconf
automake
helloworld
helloworld
helloworld.c
configure.in
makefile.am
aclocal; autoconf; automake --add-missing; ./configure; make; ./helloworld
makefilehelloworld.c
makefile
1
helloworldhelloworld/home/
my/build
$ mkdir helloword
$ cd helloworld
2 helloworld.c
hellowrold.cvi helloworld.c
helloworld.c
int main(int argc, char** argv)
{
printf(hello, linux world!\n);
return 0;
}
helloworldhelloworld.c
3configure
autoscanconfigure.in
$ autoscan
$ ls
configure.scan helloworld.c
hellowroldconfigure.scanconfigure.