📄 makefile
字号:
################################################################################ ## Copyright 2005 University of Cambridge Computer Laboratory. ## ## This file is part of Nprobe. ## ## Nprobe is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by ## the Free Software Foundation; either version 2 of the License, or ## (at your option) any later version. ## ## Nprobe is distributed in the hope that it will be useful, ## but WITHOUT ANY WARRANTY; without even the implied warranty of ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ## GNU General Public License for more details. ## ## You should have received a copy of the GNU General Public License ## along with Nprobe; if not, write to the Free Software ## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ## ################################################################################## Where to find various stuff## Archive rootNPROBE_ROOT = ../..# Import all relative paths defined at top levelinclude $(NPROBE_ROOT)/Makefile.paths################################################################################# Stuff to copy to install directories## Callable top-level analysis scripts -> install/binNUT_BOLT_SCRIPTS = np_act.py np_imgs.py# Included modules, shared libs -> install/lib#NUT_BOLT_LIB = ###############################################################################all: update_installtidy:clean: rm -f *.pyc very_clean: clean clobber: clean @rm -vf $(addprefix $(INSTALL_BIN_DIR)/, $(NUT_BOLT_SCRIPTS)) @rm -vf $(addprefix $(INSTALL_BIN_DIR)/, $(addsuffix .pyc, $(basename $(NUT_BOLT_SCRIPTS))))# @rm -vf $(addprefix $(INSTALL_LIB_DIR)/, $(addsuffix .pyc, $(basename $(NUT_BOLT_LIB))))# copy everything useful to install directories, or update as necessaryinstall: install_dirs @cp -uvf $(NUT_BOLT_SCRIPTS) $(INSTALL_BIN_DIR)update_install: install_dirs install_bin install_libinstall_bin: $(NUT_BOLT_SCRIPTS) @cp -fv $? $(INSTALL_BIN_DIR) @touch install_bininstall_lib: $(NUT_BOLT_LIB)# @cp -fv $? $(INSTALL_LIB_DIR)# @touch install_lib# Create install dirs if necessaryinstall_dirs: @if [ ! -d $(INSTALL_LIB_DIR) ]; \ then \ mkdir -p $(INSTALL_LIB_DIR); \ echo Created $(INSTALL_LIB_DIR); \ fi @if [ ! -d $(INSTALL_BIN_DIR) ]; \ then \ mkdir -p $(INSTALL_BIN_DIR); \ echo Created $(INSTALL_BIN_DIR); \ fidepend:
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -