⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 makefile.kernelmodule

📁 一种linux下的看摄像头的画面的软件
💻 KERNELMODULE
字号:
#
# Possible settings:
# _DEBUG_ will make the driver _verbose_ (via syslog KERN_DEBUG) , please let
#   this switched on until we have version 1.0, we need the output in case
#   of troubles
# CONFIG_VIDEO_CPIA_PP_DMA will enable dma code, see README for further info
# __SMP__ if you have compiled your kernel with SMP support (more than
#   one CPU)
# 

CC       = gcc
DEBUG    =
WARN     = -Wall -Wstrict-prototypes
OPTIMIZE = -O2 -pipe
CODESTYL = -fomit-frame-pointer -fno-strength-reduce
INCLUDES = -I.
DEFINES  = -D__KERNEL__ -DMODULE -D_DEBUG_
CFLAGS   = $(DEBUG) $(WARN) $(OPTIMIZE) $(CODESTYL) $(INCLUDES) $(DEFINES)
LIBS     =
LFLAGS   =
OBJS     = sq.o

all: .depend $(OBJS)

.c.o:
	$(CC) -c $(WARN) $<

test:	bayer.o gamma.o test-sq.o
	gcc -o test-sq bayer.o gamma.o test-sq.o -lm

install:  $(OBJS)
	install -m=644 -o=root -g=root $(OBJS) /lib/modules/`uname -r`/misc
	/sbin/depmod -a

clean:
	rm -f *.o *~ core .depend

dep:
	rm -f .depend
	make .depend

.depend:
	echo '# Program dependencies' >.depend
	gcc -M $(CFLAGS) *.c >>.depend

#
# include a dependency file if one exists
#
ifeq (.depend,$(wildcard .depend))
include .depend
endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -