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

📄 makefile

📁 ALGAE是一个快速创建算法演示的框架。目前支持的算法实现语言包括java和c
💻
字号:
include ../../../make.config.$(OSTYPE)# #  What is the name of the program you want to create? #TARGET=bintree##  List the object code files to be produced by compilation. #OBJS=bintree.o# #  Define special linkage flags.  Usually, these are used to include#  special libraries of code, e.g., -lm to add the library of mathematical#  routines such as sqrt, sin, cos, etc.LFLAGS=$(LIBS)##  Executable NameEXEC=$(TARGET)$(EXECEXT)##  HTML Template for CGI outputTEMPLATE=$(TARGET).html##  HTML Page to launch demoHTML=$(TARGET).html##  Subdirectory name for this animationANIMNAME=WeissBinTreeDemoall: $(EXEC) source source/bintree.h runbintree.shinstall: all $(CGIINSTALLDIR)/$(ANIMNAME)/runbintree.sh $(BININSTALLDIR)/$(ANIMNAME)/runbintree.sh	$(INSTALL) -d $(CGIINSTALLDIR)/$(ANIMNAME)	$(INSTALL) $(EXEC) $(CGIINSTALLDIR)/$(ANIMNAME) 	sed -e 's^ANIMNAME^$(ANIMNAME)^' -f $(ALGAEBASE)/installsubs.sed < $(TEMPLATE) > $(CGIINSTALLDIR)/$(ANIMNAME)/$(TEMPLATE)	$(INSTALL) -d $(BININSTALLDIR)/$(ANIMNAME)	$(INSTALL) $(EXEC) $(BININSTALLDIR)/$(ANIMNAME) 	$(INSTALL) source/bintree.h $(BININSTALLDIR)/$(ANIMNAME)	$(INSTALL) source/bintree.h.idx $(BININSTALLDIR)/$(ANIMNAME)	$(INSTALL) -d $(JAVAINSTALLDIR)/$(ANIMNAME)	$(INSTALL) source/bintree.h $(JAVAINSTALLDIR)/$(ANIMNAME)	$(INSTALL) source/bintree.h.idx $(JAVAINSTALLDIR)/$(ANIMNAME)clean:	$(RM) $(EXEC) *.o source/bintree.h runbintree.shcleaner: clean	$(RM) $(CGIINSTALLDIR)/$(ANIMNAME)/*	rmdir $(CGIINSTALLDIR)/$(ANIMNAME)	$(RM) $(JAVAINSTALLDIR)/$(ANIMNAME)/*	rmdir $(JAVAINSTALLDIR)/$(ANIMNAME)run: $(EXEC) runbintree.sh	./runbintree.sh$(EXEC): bintree.o $(LIBINSTALLDIR)/$(LIBNAME)	$(LINK) $(CPPFLAGS) -o $(EXEC) $(OBJS) $(LFLAGS)$(LIBINSTALLDIR)/$(LIBNAME):bintree.o: bintree.cpp bintree.hsource: ; mkdir sourcesource/bintree.h: bintree.h	$(JAVARUN) FilterSource $? $@ $@.idx$(CGIINSTALLDIR)/$(ANIMNAME)::	$(INSTALL) -d $(CGIINSTALLDIR)/$(ANIMNAME)$(CGIINSTALLDIR)/$(ANIMNAME)/runbintree.sh: $(ALGAEBASEgw)/installsubs.sed runbintree.sh0 $(CGIINSTALLDIR)/$(ANIMNAME)	sed -e s/ANIMNAME/$(ANIMNAME)/ -f $(ALGAEBASEgw)/installsubs.sed  < runbintree.sh0 > $(CGIINSTALLDIR)/$(ANIMNAME)/runbintree.sh	chmod +x $(CGIINSTALLDIR)/$(ANIMNAME)/runbintree.sh$(BININSTALLDIR)/$(ANIMNAME)::	$(INSTALL) -d $(BININSTALLDIR)/$(ANIMNAME)$(BININSTALLDIR)/$(ANIMNAME)/runbintree.sh: $(ALGAEBASEgw)/installsubs.sed runbintree.sh0 $(BININSTALLDIR)/$(ANIMNAME)	sed -e s/ANIMNAME/$(ANIMNAME)/ -f $(ALGAEBASEgw)/installsubs.sed < runbintree.sh0 > $(BININSTALLDIR)/$(ANIMNAME)/runbintree.sh	chmod +x $(BININSTALLDIR)/$(ANIMNAME)/runbintree.shrunbintree.sh: $(ALGAEBASEgw)/localsubs.sed runlocal.sh0	sed -e s/ANIMNAME/$(ANIMNAME)/ < runlocal.sh0 | sed -f $(ALGAEBASEgw)/localsubs.sed > runbintree.sh	chmod +x runbintree.sh$(ALGAEBASEgw)/localsubs.sed: $(ALGAEBASEgw)/make.config.$(OSTYPE)	cd $(ALGAEBASE); $(MAKE) localsubs.sed$(ALGAEBASEgw)/installsubs.sed: $(ALGAEBASEgw)/make.config.$(OSTYPE)	cd $(ALGAEBASE); $(MAKE) installsubs.sed

⌨️ 快捷键说明

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