📄 makefile
字号:
########################################################################## (C) Copyright 1999# DENX Software Engineering# Wolfgang Denk, wd@denx.de# All rights reserved.## LinuxPPC Cross Development Kit:## Tools and configuration files to build the cross compiler and# binutils, standard libraries and the most important packages## => Global Makefile## $Id: Makefile,v 1.1 2000/01/11 21:04:48 wd Exp $########################################################################include ENVIRONMENTCDK: binutils \ egcs-core \ linux \ glibc \ movecore \ egcsUTILS: zlib \ sash# Make sure all directories existmkdir: @[ -d $(CDK_DIR) ] || mkdir -p $(CDK_DIR) @# check that we have write permission @touch $(CDK_DIR)/tmp.$$$$ && rm $(CDK_DIR)/tmp.$$$$ @[ -d $(KERNEL_DIR) ] || mkdir -p $(KERNEL_DIR) @# check that we have write permission @touch $(KERNEL_DIR)/tmp.$$$$ && rm $(KERNEL_DIR)/tmp.$$$$ @[ -d $(PREFIX_DIR) ] || mkdir -p $(PREFIX_DIR) @# check that we have write permission @touch $(PREFIX_DIR)/tmp.$$$$ && rm $(PREFIX_DIR)/tmp.$$$$ @[ -d $(SRC_DIR) ] || mkdir -p $(SRC_DIR) @[ -d $(OBJ_DIR) ] || mkdir -p $(OBJ_DIR)binutils egcs-core linux glibc egcs: mkdir @echo =========================== MAKE $@ =========================== cd $(SRC_DIR) ; make -f $(BUILD_DIR)/Makefile.$@movecore: mkdir @echo =========================== MAKE $@ =========================== cd $(SRC_DIR) ; make -f $(BUILD_DIR)/Makefile.egcs movecore#############################################################################zlib sash: mkdir @echo =========================== MAKE $@ =========================== cd $(SRC_DIR) ; make -f $(BUILD_DIR)/Makefile.$@#############################################################################clean:clobber: clean rm -fr $(SRC_DIR) $(OBJ_DIR)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -