makefile 最简单用法
生活随笔
收集整理的這篇文章主要介紹了
makefile 最简单用法
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
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總結
以上是生活随笔為你收集整理的makefile 最简单用法的全部內容,希望文章能夠幫你解決所遇到的問題。