ITeye博客

makefile制作方法--学习笔记

microjava · 2009-12-08 10:19 · Unix C · Markdown

makefile制作方法 vi hello.cpp


#include<iostream.h>
int main()
{
  cout<<"Welcome to microjava home."<<endl;
  return 0;
}

wc hello.cpp qmake -project qmake/qmake Makefile make ./hello

vi hello.c


#include <stdio.h>
int main()
{
 printf("Welcome to china.");
 return 0;
}

qmake -project qmake make ./hello

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。