makefile
来自「linux下驱动编写实例。」· 代码 · 共 30 行
TXT
30 行
# 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.makeCFLAGS += -O2 -I..# To please automatic compilation, no TARGET is there, only OBJSOBJS = pcidata.o pciregions.oSRC = $(OBJS:.o=.c)EXE = pcidumpall: .depend $(EXE) $(OBJS)clean: rm -f *.o *~ $(EXE) .dependdepend .depend dep: $(CC) $(CFLAGS) -M *.c > $@ifeq (.depend,$(wildcard .depend))include .dependendif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?