Flat object file directory structure output with GNU Make

前端 未结 5 2334
遥遥无期
遥遥无期 2020-12-13 17:11

I have a C++ small project using GNU Make. I\'d like to be able to turn the following source files:

src/
  a.cpp
  b/
    b.cpp
  c/
    c.cpp
5条回答
  •  春和景丽
    2020-12-13 17:22

    You might not particulary like this approach, but:

    AUTOMAKE_OPTIONS =
    

    does the trick quite well in a Makefile.am. Just sayin' that you don't need to write everything by hand.

提交回复
热议问题