2010年3月18日

Linux GCC make文件的写法--总结版

摘要: 目录结构为:inc/hello.hsrc/hello.cmain/main.cMakefile文件内容为:hello.h:void hello(char name[]); hello.c:#include <stdio.h>void hello(char name[]){ printf("Hello %s!/n", name);} main.c:#include <stdio.h>#include "hello.h"// The second hello.h should in ""int main(){ he 阅读全文

posted @ 2010-03-18 10:22 yanhc 阅读(1043) 评论(0) 推荐(0) 编辑

导航