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

📄 makefile.x86

📁 mpc8xx driver(led), based on tqm8
💻 X86
字号:
######################################################################### (C) Copyright 2000# Jean-Jacques Germond, Fr閐閞ic Soulier, Christian Batt; Alcatel# C/O jjg@sxb.bsf.alcatel.fr## All rights reserved.## This code is free software; you can redistribute it and/or# modify it under the terms of the GNU *Library* General Public License# as published by the Free Software Foundation; either version 2 of# the License, or (at your option) any later version.## This code 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# *Library* General Public License for more details.## You should have received a copy of the GNU *Library* General Public# License along with this program (see file COPYING.LIB); if not,# write to the Free Software Foundation, Inc., 675 Mass Ave,# Cambridge, MA 02139, USA.## Makefile to manage the "trivial interrupt driver" project.#  (see AR (Allesandro Rubini pg: 19)########################################################################INCLDIR = /usr/includeSRCLINUXINCL = $(INCLDIR)/../src/linux/includeCFLAGS = -D__KERNEL__ -DMODULE -g -O -Wall $(DBG_FLAGS) -I$(INCLDIR)# Extract version number from headersVER = $(shell awk -F\" '/REL/ {print $$2}' $(INCLDIR)/linux/version.h)MODULE_NAME = tid.o.SUFFIXES:.SUFFIXES: .o .c.c.o:	$(CC) $(CFLAGS) -c $<SRCS= \	tid_copy.c \	tid_driver.c \	tid_intr.c \	tid_proc.c \	tid_ripple.c \	tid_signal.c \	tid_timer.cOBJS = $(SRCS:.c=.o)all module: $(OBJS)	@echo "MAKING MODULE: $(MODULE_NAME) FOR KERNEL: $(VER)"	$(LD) -r $(OBJS) -o $(MODULE_NAME)depend dep:	makedepend -- $(CFLAGS) -- $(SRCS)clean:	/bin/rm -f *.o core *~ $(MODULE_NAME) tid XX* TAGS ripple *.bakxxref:	doXXREF . ../scull $(SRCLINUXINCL)/linux $(SRCLINUXINCL)/asmrmripple:	rm -f ripple tid_ripple.oripple: rmripple	cc tid_ripple.c -o ripple# DO NOT DELETE

⌨️ 快捷键说明

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