makefile extension

后端 未结 8 1085
遥遥无期
遥遥无期 2021-02-08 09:29

I\'m writing a C program using gcc in cygwin. My question is, how do you create a makefile? I mean, what file-extension does it have? I know how to write simple rules, but I can

8条回答
  •  伪装坚强ぢ
    2021-02-08 10:01

    The default filename for a makefile is Makefile; this is the name that GNU Make looks for when you run it without any options. The -f argument lets you specify an alternate filename if desired.

提交回复
热议问题