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

📄 makefile

📁 linux1.1源代码
💻
字号:
## Makefile for the linux filesystem.## Note! Dependencies are done automagically by 'make dep', which also# removes any old dependencies. DON'T put your own dependencies here# unless it's something special (ie not a .c file).## Note 2! The CFLAGS definitions are now in the main makefile...SUBDIRS = minix ext ext2 msdos proc isofs nfs xiafs hpfs sysvifdef CONFIG_MINIX_FSFS_SUBDIRS := $(FS_SUBDIRS) minixendififdef CONFIG_EXT_FSFS_SUBDIRS := $(FS_SUBDIRS) extendififdef CONFIG_EXT2_FSFS_SUBDIRS := $(FS_SUBDIRS) ext2endififdef CONFIG_MSDOS_FSFS_SUBDIRS := $(FS_SUBDIRS) msdosendififdef CONFIG_PROC_FSFS_SUBDIRS := $(FS_SUBDIRS) procendififdef CONFIG_ISO9660_FSFS_SUBDIRS := $(FS_SUBDIRS) isofsendififdef CONFIG_NFS_FSFS_SUBDIRS := $(FS_SUBDIRS) nfsendififdef CONFIG_XIA_FSFS_SUBDIRS := $(FS_SUBDIRS) xiafsendififdef CONFIG_SYSV_FSFS_SUBDIRS := $(FS_SUBDIRS) sysvendififdef CONFIG_HPFS_FSFS_SUBDIRS := $(FS_SUBDIRS) hpfsendififdef CONFIG_BINFMT_ELFBINFMTS := $(BINFMTS) binfmt_elf.oendififdef CONFIG_BINFMT_COFFBINFMTS := $(BINFMTS) binfmt_coff.oendif.c.s:	$(CC) $(CFLAGS) -S $<.c.o:	$(CC) $(CFLAGS) -c $<.s.o:	$(AS) -o $*.o $<OBJS=	open.o read_write.o inode.o devices.o file_table.o buffer.o super.o \	block_dev.o stat.o exec.o pipe.o namei.o fcntl.o ioctl.o \	select.o fifo.o locks.o filesystems.o $(BINFMTS)all: fs.o filesystems.afs.o: $(OBJS)	$(LD) -r -o fs.o $(OBJS)filesystems.a: dummy	rm -f filesystems.a	set -e; for i in $(FS_SUBDIRS); do \	  test ! -d $$i || \	    { $(MAKE) -C $$i; $(AR) rcs filesystems.a $$i/$$i.o; }; donedepend dep:	$(CPP) -M *.c > .depend	set -e; for i in $(SUBDIRS); do \	  test ! -d $$i || $(MAKE) -C $$i dep; donedummy:## include a dependency file if one exists#ifeq (.depend,$(wildcard .depend))include .dependendif

⌨️ 快捷键说明

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