摘要:
显示当前Makefile所在目录。 Makefile文件内容: all: @echo $(CURDIR) $(CURDIR)为make自带的函数 阅读全文
posted @ 2022-04-05 22:39
悟透
阅读(1176)
评论(0)
推荐(0)
摘要:
来源:《跟我一起写Makefile》作者:陈皓 第15页 默认的情况下,make 命令会在当前目录下按顺序找寻文件名为“GNUmakefile”、 “makefile”、“Makefile”的文件,找到了解释这个文件。在这三个文件名中,最好使用 “Makefile”这个文件名,因为,这个文件名第一个 阅读全文
posted @ 2022-04-05 22:35
悟透
阅读(178)
评论(0)
推荐(0)
摘要:
hello.c文件: #include <stdio.h> int main() { printf("Hello Word!!!\n"); return 0; } Makefile文件: 执行顺序, 1.hello:hello.o中的hello是要生成的执行文件,谁来生成呢? 就是hello.o。 阅读全文
posted @ 2022-04-05 12:58
悟透
阅读(508)
评论(0)
推荐(0)
摘要:
路由器刷入了OPENWRT,结果发现刷入的固件没有带Luci,以下是本人手动安装Luci的方法, #开始安装Luci所需的依赖包 opkg install http://192.168.1.2/uhttpd_27_brcm47xx.ipk opkg install http://192.168.1. 阅读全文
posted @ 2022-04-04 05:40
悟透
阅读(3381)
评论(0)
推荐(0)
浙公网安备 33010602011771号