makefile

来自「用C++编写的遗传算法」· 代码 · 共 42 行

TXT
42
字号
# Makefile for the artificial ant probleminclude		../Makefile.iniTARGET		= antOBJS		= ant.o trail.oCPPFLAGS	= $(OVERALLCPPFLAGS) -I$(GPINCLUDE)LDFLAGS		= $(OVERALLLDFLAGS) -L$(GPLIB) -lgp -lm# Implicit rule how to compile.cc.o:	$(CCC) $(CPPFLAGS) -c $<all: $(TARGET)clean:	rm -f $(OBJS) data.* *~superclean: clean	rm -f $(TARGET)strip:	strip $(OBJS) $(TARGET)$(TARGET) : $(OBJS) $(GPLIBFILE)	$(CCC) -o $(TARGET) $(OBJS) $(LDFLAGS) $(LIBS)# File dependenciesant.o: ant.cc ../include/gp.h ../include/gpconfig.h ant.htrail.o: trail.cc ../include/gp.h ant.h

⌨️ 快捷键说明

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