摘要: 首先创建以下4个文件: hello.h内容为: void hello(); hello.cpp内容为: #include"hello.h"#include<iostream> using namespce std; void hello(){ cout<<"Hello makefile"<<endl 阅读全文
posted @ 2020-03-23 18:49 Ruigel1 阅读(255) 评论(0) 推荐(0) 编辑
摘要: 一、Makefile 的规则在讲述这个 Makefile 之前,还是让我们先来粗略地看一看Makefile 的规则。target ... : prerequisites ...command......target 也就是一个目标文件,可以是Object File,也可以是执行文件。还可以是一个标签 阅读全文
posted @ 2020-03-23 09:12 Ruigel1 阅读(200) 评论(0) 推荐(0) 编辑