📄 makefile
字号:
# Makefile for the ACS vehicle routing problem with stochastic demand program# ---# Tuesday May 20 2003# all: acs debug acsTSPOBJECTS= Control_acs.o Timer.o Random.o Problem.o Solution.o acs.o Control.o orOpt.o farthestInsertion.o Ant.o util.oCFLAGS2= -Wall -ansi CFLAGS= -Wall -ansi -O3CC= g++acs: $(OBJECTS) $(CC) $(OBJECTS) $(CFLAGS) -o vrpsd.acs-0.be.2util.o: util.h util.cpp $(CC) $(CFLAGS) -c util.cppTimer.o: Timer.cpp Timer.h $(CC) $(CFLAGS) -c Timer.cppRandom.o: Random.cc Random.h $(CC) $(CFLAGS) -c Random.ccControl.o: Control.cpp Control.h Timer.cpp Timer.h $(CC) $(CFLAGS) -c Control.cppControl_acs.o: Control_acs.cpp Control_acs.h Control.cpp Control.h Timer.cpp Timer.h $(CC) $(CFLAGS) -c Control_acs.cppProblem.o: Problem.cpp Problem.h Control.cpp Control.h $(CC) $(CFLAGS) -c Problem.cppSolution.o: Solution.cpp Solution.h Problem.cpp Problem.h Control.cpp Control.h Random.cc Random.h $(CC) $(CFLAGS) -c Solution.cppAnt.o: Ant.cpp Ant.h Control_acs.h Control_acs.cpp Solution.cpp Solution.h Random.cc Random.h $(CC) $(CFLAGS) -c Ant.cpporOpt.o: orOpt.cpp orOpt.h Problem.cpp Problem.h Solution.cpp Solution.h Control.cpp Control.h Random.cc Random.h $(CC) $(CFLAGS) -c orOpt.cppfarthestInsertion.o: farthestInsertion.h farthestInsertion.cpp Problem.h Problem.cpp Solution.h Solution.cpp $(CC) $(CFLAGS) -c farthestInsertion.cppacs.o: acs.cpp Random.cc Random.h Problem.cpp Problem.h Solution.cpp Solution.h orOpt.cpp orOpt.h Control_acs.cpp Control_acs.h Ant.cpp Ant.h $(CC) $(CFLAGS) -c acs.cppOBJECTS2= Control_acs.o Timer.o Random.o Problem.o Solution.o acstsp.o Control.o orOptTSP.o farthestInsertion.o Ant.o util.oCFLAGS2= -Wall -ansi CFLAGS= -Wall -ansi -O3CC= g++acsTSP: $(OBJECTS2) $(CC) $(OBJECTS2) $(CFLAGS) -o vrpsd.acs-tsp.be.2orOptTSP.o: orOptTSP.cpp orOptTSP.h Problem.cpp Problem.h Solution.cpp Solution.h Control.cpp Control.h Random.cc Random.h $(CC) $(CFLAGS) -c orOptTSP.cppacstsp.o: acstsp.cpp Random.cc Random.h Problem.cpp Problem.h Solution.cpp Solution.h orOptTSP.cpp orOptTSP.h Control_acs.cpp Control_acs.h Ant.cpp Ant.h $(CC) $(CFLAGS) -c acstsp.cppCDEBUG = -g -DDEBUGDEBUG_OBJECTS = debug_Timer.o debug_Random.o debug_Control.o debug_Control_acs.o debug_Problem.o debug_Solution.o debug_acs.o debug_orOpt.o debug_farthestInsertion.o debug_Ant.o debug_util.odebug: $(DEBUG_OBJECTS) $(CC) $(DEBUG_OBJECTS) $(CDEBUG) $(CFLAGS2) -o debug_acsdebug_util.o: util.cpp util.h $(CC) $(CDEBUG) $(CFLAGS2) -c util.cpp -o debug_util.odebug_Timer.o: Timer.cpp Timer.h $(CC) $(CDEBUG) $(CFLAGS2) -c Timer.cpp -o debug_Timer.odebug_Random.o: Random.cc Random.h $(CC) $(CDEBUG) $(CFLAGS2) -c Random.cc -o debug_Random.odebug_Control.o: Control.h Control.cpp Timer.h Timer.cpp Solution.h Solution.cpp $(CC) $(CDEBUG) $(CFLAGS2) -c Control.cpp -o debug_Control.odebug_Control_acs.o: Control_acs.h Control_acs.cpp Control.h Control.cpp Timer.h Timer.cpp $(CC) $(CDEBUG) $(CFLAGS2) -c Control_acs.cpp -o debug_Control_acs.odebug_Problem.o: Problem.cpp Problem.h Control.h Control.cpp $(CC) $(CDEBUG) $(CFLAGS2) -c Problem.cpp -o debug_Problem.odebug_Solution.o: Solution.cpp Solution.h Problem.h Problem.cpp Control.h Control.cpp Random.h Random.cc $(CC) $(CDEBUG) $(CFLAGS2) -c Solution.cpp -o debug_Solution.odebug_Ant.o: Ant.cpp Ant.h Control_acs.h Control_acs.cpp Solution.cpp Solution.h Random.cc Random.h $(CC) $(CDEBUG) $(CFLAGS2) -c Ant.cpp -o debug_Ant.odebug_orOpt.o: orOpt.cpp orOpt.h Problem.h Problem.cpp Solution.h Solution.cpp Control.h Control.cpp Random.h Random.cc $(CC) $(CDEBUG) $(CFLAGS2) -c orOpt.cpp -o debug_orOpt.odebug_farthestInsertion.o: farthestInsertion.h farthestInsertion.cpp Problem.h Problem.cpp Solution.h Solution.cpp $(CC) $(CDEBUG) $(CFALGS2) -c farthestInsertion.cpp -o debug_farthestInsertion.odebug_acs.o: acs.cpp Random.h Random.cc Problem.h Problem.cpp Solution.h Solution.cpp orOpt.h orOpt.cpp Control_acs.h Control_acs.cpp $(CC) $(CDEBUG) $(CFLAGS2) -c acs.cpp -o debug_acs.o.PHONY: cleanclean: -rm vrpsd.acs-0.be.2 $(OBJECTS) debug_acs $(DEBUG_OBJECTS) vrpsd.acs-tsp.be.2 $(OBJECTS2) *~
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -