makefile

来自「COOOL:CWP面向对象最优化库(CWP Object Oriented Op」· 代码 · 共 64 行

TXT
64
字号
# This is a general makefile for generating all three libraries and includes#you have to define the variable COOOLROOT as the path of the library.#For example, put this in your .cshrc file# setenv COOOLROOT $(HOME)include $(COOOLROOT)/src/Makefile.configdonothing: #To protect against an idle "make" to "see what happens" 	@echo ""	@echo "This is a dangerous makefile--so the default is do_nothing"	@echo "Please read and edit Makefile.config appropriately"	@echo "then type: make install, to install the library"	@echo "or type:   make remake,  to remake the library"install	: checkroot sendmail makedirs makelinks incl library mans demoincl	:	cd ./include; $(MAKE)library	:	cd ./lib; $(MAKE)mans	:	cd ./man; $(MAKE)demo:	cd ./demos; $(MAKE)#check to see if the COOOLROOT path is setcheckroot	:	@./chkroot.sh	@echo $(COOOLROOT)#Make necessary sub directories if nor already existmakedirs:	@echo "Make necessary directories"	@./mkdirectories.sh#Make some necessary symbolic links for some filesmakelinks:	@echo "Make necessary symlinks"	@./mksymlinks.sh $(arch)#Send email to ussendmail:	@echo "Send email to us"	@./mailhome.shremake	:	cd ./include; $(MAKE) remake	cd ./lib; $(MAKE) remake	cd ./man; $(MAKE) remake	cd ./demos; $(MAKE) remakeclean	:	cd ./lib; $(MAKE) cleandistclean	:	cd ./include; $(MAKE) clean	cd ./lib; $(MAKE) distclean	cd ./man; $(MAKE) clean	cd ./demos; $(MAKE) clean	@./rmdirectories.sh

⌨️ 快捷键说明

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