Makefile: Error1

前端 未结 3 1039
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-16 02:15

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:44

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

提交回复
热议问题