Makefile: Error1

前端 未结 3 1101
梦毁少年i
梦毁少年i 2020-12-16 01:45

I have a very simple c programme:

int main()
{
  return(1);
}

and a simple Makefile:

all:
    gcc -ansi -pedantic -o tmp tm         


        
3条回答
  •  轮回少年
    2020-12-16 02:27

    You're returning an error code of 1 from your application. It's Make's job to report this as an error!

提交回复
热议问题