📄 make_rules
字号:
## Universal TUN/TAP device driver.# Copyright (C) 1999-2000 Maxim Krasnyansky <max_mk@yahoo.com>## This program is free software; you can redistribute it and/or modify# it under the terms of the GNU General Public License as published by# the Free Software Foundation; either version 2 of the License, or# (at your option) any later version.## This program is distributed in the hope that it will be useful,# but WITHOUT ANY WARRANTY; without even the implied warranty of# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the# GNU General Public License for more details.## $Id: make_rules,v 1.2 2001/02/02 03:51:35 maxk Exp $#all: moduleinclude $(KDIR)/.configinclude $(KDIR)/arch/$(ARCH)/MakefileCFLAGS := $(CFLAGS) $(DEFS) -O2 -DMODULE -D__KERNEL__ -I$(HPATH) -I. \ -Wall -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing ifdef CONFIG_SMPCFLAGS += -D__SMP__endififdef CONFIG_MODVERSIONSCFLAGS += -DMODVERSIONS -include $(HPATH)/linux/modversions.hendifmodule: tun.otun.o: tun.c if_tun.hkernel: module $(INSTALL) -d -m 755 -o root -g root $(MDIR) $(INSTALL) -m 644 -o root -g root tun.o $(MDIR) $(DEPMOD) -a
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -