<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 06/25/2014 03:17 PM, lx wrote:<br>
</div>
<blockquote
cite="mid:CA+5jrfkRLf8+kmGNchCWgn0_YT6yahnWJHMYXFcbOpY7gEZQ_Q@mail.gmail.com"
type="cite">
<div dir="ltr">thank you.
<div>But the Makefile is so simple and Not use "cc".</div>
<div>#################################</div>
<div>
<div>obj-m := task_01.o</div>
<div><br>
</div>
</div>
</div>
</blockquote>
<pre> CFLAGS_task_01.o := -DDEBUG</pre>
<blockquote
cite="mid:CA+5jrfkRLf8+kmGNchCWgn0_YT6yahnWJHMYXFcbOpY7gEZQ_Q@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div>KDIR:=/lib/modules/`uname -r`/build</div>
<div>PWD:=$(shell pwd)</div>
<div><br>
</div>
<div>default:</div>
<div> echo $KDIR</div>
<div> $(MAKE) -C $(KDIR) M=$(PWD) modules</div>
</div>
<div>#################################</div>
<div><br>
</div>
<div>So, how to add "<span
style="color:rgb(0,0,0);white-space:pre-wrap">CFLAGS"?</span></div>
</div>
<div class="gmail_extra"><br>
</div>
</blockquote>
</body>
</html>