摘要: 这篇文章演示了Makefile使用mysqlpp库和lua库的写法。 test.cpp: test.lua: Makefile: 阅读全文
posted @ 2016-12-16 15:33 啊饭 阅读(587) 评论(0) 推荐(0) 编辑
摘要: 这篇文章演示多目录,c,c++混编的Makefile写法。 文件夹: $dir/bin/ $dir/deps/ deps/inc/ deps/lib/ deps/src/ $dir/obj/ $dir/project/ project/test.mk $dir/src/ src/class1.cpp 阅读全文
posted @ 2016-12-16 15:27 啊饭 阅读(228) 评论(0) 推荐(0) 编辑
摘要: funs.h: funs.c Makefile main.c 编译: gcc -o main.exe -lfuns -L/home/xt/test_lib main.c 阅读全文
posted @ 2016-12-16 14:57 啊饭 阅读(896) 评论(0) 推荐(0) 编辑