作者n3oanderson (wake up ...)
看板Programming
标题Re: [问题] 关於Makefile
时间Tue Dec 16 15:29:13 2014
:= 表示 (immediate) variable assignment. 类似宣告 int a = 0;
$(CFILES: .c=.o) 是把.c档名转成.o
※ 引述《qazkevin (阿成)》之铭言:
...
: CFILES := main.c sub.c
: obj-m := hello.o
: hello-objs := $(CFILES: .c=.o)
...
: 想请问前面三行是甚麽意思
...
--
※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 111.243.110.44
※ 文章网址: http://webptt.com/cn.aspx?n=bbs/Programming/M.1418714957.A.E6B.html
1F:→ qazkevin: 真的非常感谢你!!! 223.137.76.71 12/16 23:10