#/* # *File : Makefile # *Author : DavidLin # *Date : 2014-12-07pm # *Email : [email protected] or [email protected] # *world : the city of SZ, in China # *Ver : 000.000.001 # *history : editor time do # * 1)LinPeng 2014-12-07 created this file! # * 2) # */ .PHONY: all clean obj-m := test.o KERNELDIR ?= lib/modules/$(shell uname -r)/build PWD := $(shell pwd) all: make -C $(KERNELDIR) M=$(PWD) modules clean: make -C $(KERNELDIR) M=$(PWD) clean #/* End of Makefile */
Linux內核編程:從hello world 開始-(2)_Makefile文件編寫
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.