QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1737|回复: 2

---[[求助]]急:makefile编写

[复制链接]
发表于 2007-2-15 16:29:04 | 显示全部楼层 |阅读模式
对于编写makefile
简单的我还应付得了,可是这一次作业,接口函数多了一点,所以实在不知道怎么编写了。向各位高手求助了,谢谢!
文件结构如下:
gui.c
include/assert.h
include/except.h
include/mem.h
include/list.h
include/document.h
src/assert.c
src/except.c
src/mem.c
src/list.c
src/document.c

src/except.c的包含的头文件有:include "assert.h" "except.h"
src/mem.c包含的头文件有:include "assert.h" "except.h" "mem.h"
src/list.c包含的头文件有:include "assert.h" "mem.h" "list.h"
src/document.h包含的头文件有include <gtk/gtk.h> "mem.h" "document.h"

gui.c包含的头文件有:include <gtk/gtk.h> "list.h" "document.h"

所以只能求救了!
谢谢
发表于 2007-2-16 00:30:47 | 显示全部楼层
由人来编写makefile是相当困难的。貌似有个automake是搞这个的。
回复

使用道具 举报

发表于 2007-2-16 14:37:05 | 显示全部楼层
http://www.stlchina.org/twiki/bin/view.pl/ScriptProgram/LearnMakefile
看看这篇文章吧,对你应该有帮助!
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-5-4 12:43 , Processed in 0.076200 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表