📄 makefile
字号:
## Makefile for the linux arm-specific parts of the memory manager.## 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 definition is now in the main makefile...O_TARGET := mm.oO_OBJS := init.o fault-$(PROCESSOR).o mm-$(MACHINE).oifeq ($(PROCESSOR),armo) O_OBJS += kmalloc-arm.o proc-arm2,3.oendififeq ($(PROCESSOR),armv) O_OBJS += small_page.o proc-arm6,7.oendifinclude $(TOPDIR)/Rules.makeproc-arm2,3.o: ../lib/constants.hproc-arm6,7.o: ../lib/constants.hproc-sa110.o: ../lib/constants.h.PHONY: ../lib/constants.h../lib/constants.h: @$(MAKE) -C ../lib constants.h%.o: %.Sifneq ($(CONFIG_BINUTILS_NEW),y) $(CC) $(CFLAGS) -D__ASSEMBLY__ -E $< | tr ';$$' '\n#' > ..tmp.s $(CC) $(CFLAGS) -c -o $@ ..tmp.s $(RM) ..tmp.selse $(CC) $(CFLAGS) -D__ASSEMBLY__ -c -o $@ $<endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -