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

📄 makefile

📁 Linux Device Drivers 2nd 经典书籍的配套源码
💻
字号:
# Comment/uncomment the following line to disable/enable debugging#DEBUG = y# This Makefile has been simplified as much as possible, by putting all# generic material, independent of this specific directory, into# ../Rules.make. Read that file for detailsTOPDIR  := $(shell cd ..; pwd)include $(TOPDIR)/Rules.make# Add your debugging flag (or not) to CFLAGSifeq ($(DEBUG),y)  DEBFLAGS = -O -g -DSIMPLE_DEBUG # "-O" is needed to expand inlineselse  DEBFLAGS = -O2endifCFLAGS += $(DEBFLAGS)CFLAGS += -I..TARGET = simpleOBJS = $(TARGET).oSRC = simple.call: .depend $(TARGET).oinstall:	install -d $(INSTALLDIR)	install -c $(TARGET).o $(INSTALLDIR)clean:	rm -f *.o *~ core .dependdepend .depend dep:	$(CC) $(CFLAGS) -M *.c > $@ifeq (.depend,$(wildcard .depend))include .dependendif

⌨️ 快捷键说明

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