简体   繁体   中英

Automake not generating Makefile.in in subdirs

First off I just want to say, I'm a total newb at 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

src/Makefile.am has SUBDIRS=commands .

src/commands/Makefile.am has SUBDIRS=$(AUTODIRS)

When I run automake in the root, it generates Makefile.in and src/Makefile.in, but not in commands and copy.

What am I doing wrong?

确保configure.ac在AC_CONFIG_FILES中提到所有Makefile。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM