網路城邦
greatcat 的部落格
(
新版
)
首頁
文章創作
個人相簿
訪客簿
作家簡介
加入好友
|
加入我的最愛
|
訂閱最新文章
作家:我喵故我在
作家
我喵故我在
文章推薦人
(0)
其他創作
‧
linux camera check resolution
‧
kmscube
‧
[debug] make時出現: cannot find -lc
‧
[debug] fatal error: map: No such file or directory
‧
Basic tutorial - hello module
‧
Basic tutorial - hello world
‧
Basic tutorial - cross compile
‧
TI am5718 with IgH etherCAT master with NEXTW_16IO BOARD
‧
ubuntu 16 nfs
‧
Get LAN mac from name of LAN card
最新創作
‧
microchip x ide 6.25 , 不能燒MCU ?
‧
ubuntu 16, build ko module, bug and fix
‧
多個HDMI顯示器, 開機程式自啟, 指定某個HDMI顯示器發聲
‧
唸大學不是為了就業
‧
Install QT6 in ubuntu 22, error and solution
字體:
小
中
大
Basic tutorial - hello world
2020/10/05 17:54:34
瀏覽
47
|回應
0
|推薦
0
//---Makefile
cfilename=led
all:$(cfilename)
$(cfilename):$(cfilename).o
$(CC) -o $(cfilename).out $^
.PHONY:clean
clean:
rm $(cfilename).out *.o *.~
//---helloworld.c
#include <stdio.h>
int main(void){
printf("hello cat\n");
return 0;
}
(
不分類
|
不分類
)
引用網址:https://classic-blog.udn.com/article/trackback.jsp?uid=greatcat&aid=151226508