GNU Make pattern to build output in different directory than src

后端 未结 3 394
孤城傲影
孤城傲影 2020-12-05 10:00

I\'m trying to create a Makefile which places my .o files in a different directory than my source files. I\'m trying to use a pattern rule so I don\'t have to c

3条回答
  •  无人及你
    2020-12-05 10:51

    Makefile that "duplicates" source tree in separate build directory by running GCC on each source - https://stackoverflow.com/a/41924169/4224163

提交回复
热议问题