當(dāng)前位置:
首頁 >
makefile 最简单用法
發(fā)布時(shí)間:2025/4/5
41
豆豆
生活随笔
收集整理的這篇文章主要介紹了
makefile 最简单用法
小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
hello.c
#include <stdio.h> int main() {printf("Hello World!\n");return 0; } hello : hello.ogcc -o hello hello.ohello.o : hello.cgcc -c hello.cclean : rm -rf hello.o make./hello總結(jié)
以上是生活随笔為你收集整理的makefile 最简单用法的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。