[英]Automake not generating Makefile.in in subdirs
First off I just want to say, I'm a total newb at Autotools. 首先,我只是想说,我是Autotools的新手。
I have a project with the following structure: 我有一个具有以下结构的项目:
+-src
+-commands
Makefile.am
+-copy
Makefile.am
copy.h
copy.cpp
+-delete
Makefile.am
delete.h
delete.cpp
main.cpp
Makefile.am
Makefile.am
Makefile.am has SUBDIRS=src Makefile.am有SUBDIRS = src
src/Makefile.am has SUBDIRS=commands . src / Makefile.am有SUBDIRS =命令。
src/commands/Makefile.am has SUBDIRS=$(AUTODIRS) src / commands / Makefile.am有SUBDIRS = $(AUTODIRS)
When I run automake in the root, it generates Makefile.in and src/Makefile.in, but not in commands and copy. 当我在root中运行automake时,它会生成Makefile.in和src / Makefile.in,但不会生成命令和副本。
What am I doing wrong? 我究竟做错了什么?
确保configure.ac在AC_CONFIG_FILES中提到所有Makefile。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.