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

📄 makefile

📁 麻省理工开发的免费遗传算法类库GAlib,很好用
💻
字号:
# Makefile for GAlib 2.x - example programs# Copyright (c) 1994-1996 Massachusetts Institute of Technology# mbwall 17jan96 all rights reserved# You'll probably have to modify the XLIBS to include the right X libraries# for your system.  For example, solaris typically need Xmu, some SUNs need PW,# and HP boxes are really messed up.  On Athena's SUNs you must also add the# library -lgen when using MOTIF.# use these libs if you have MOTIF.  You may not need the PW library.#MOTIF=-DUSE_MOTIF#XLIBS= -lXm -lXt -lX11 -lPW # use these if you're compiling with the athena widget set (no motif)MOTIF=XLIBS= -lXaw -lXt -lX11# the CC include directory is only for use by makedepend.  linux needs the# /usr/X11R6/lib, but others might need it as well.CC_INC_DIR= -I/usr/include/CCINC_DIRS= -I../..LIB_DIRS= -L../../ga -L/usr/X11R6/lib# If you have SGI's DCC compiler...#C++C= DCC#CCFLAGS= -ptv +w +pp -O -g $(MOTIF) $(INC_DIRS)# If you're using the gnu compiler...C++C= g++CCFLAGS= -Wall -O -g $(MOTIF) $(INC_DIRS).SUFFIXES: .o .C.C.o:	$(C++C) $(CCFLAGS) -c $<all: gaview tspviewgaview: gaview.o 	$(C++C) -o $@ $@.o $(LIB_DIRS) $(XLIBS) -lga -lmtspview: tspview.o 	$(C++C) -o $@ $@.o $(LIB_DIRS) $(XLIBS) -lga -lmclean:	rm -rf *~ *.bak *.out *.pixie *.o core ii_files test* bog.dat	rm -f gaview tspviewdepend:	makedepend $(CC_INC_DIR) $(INC_DIRS) gaview.C tspview.C# DO NOT DELETE THIS LINE -- make depend depends on it.

⌨️ 快捷键说明

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