close
#vi hello.c
加入
#isdef_TEST_
prink("<1>print if_TEST_defined\n");
#endif
#vi Makefile
#Makefile for EXTRA_CFLAGSS -->註解
EXTRA_CFLAGS +=-D_TEST
obj-m +=hello.o
#make V=1 -C /lib/modules/`uname -r`/build M =`pwd` modules
-->V=1詳細列出
結果顯示
文章標籤
全站熱搜