1 Star 0 Fork 1

Yangyan Xu/galib遗传算法库

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
makefile 1.23 KB
一键复制 编辑 原始数据 按行查看 历史
Yuri Volkov 提交于 2014-10-16 00:57 . version 2.4.7 import
# -*- Mode: makefile -*-
# Makefile for GAlib
# Copyright (c) 1996-2005 Matthew Wall, all rights reserved
#
# If you need to customize the build of galib, you should first modify the
# variables in the makevars file.
GALIB_VERSION=2.4.7
GALIB_VER=247
TMPDIR=/var/tmp
RELDIR=$(TMPDIR)/galib$(GALIB_VER)
all: lib ex
lib:
cd ga; $(MAKE)
ex:
cd examples; $(MAKE)
test: lib ex
cd examples; $(MAKE) test
install:
cd ga; $(MAKE) install
uninstall:
cd ga; $(MAKE) uninstall
clean:
cd ga; $(MAKE) clean
cd examples; $(MAKE) clean
release: clean
rm -rf $(RELDIR)
mkdir -p $(RELDIR)
cp -rp * $(RELDIR)
rm -rf `find $(RELDIR) -name CVS`
rm -rf `find $(RELDIR) -name .svn`
rm -f `find $(RELDIR) -name "*~"`
echo $(GALIB_VERSION) > $(RELDIR)/VERSION
perl -pi -e 's/evision: \d+\.\d+ /evision: $(GALIB_VERSION) /' $(RELDIR)/ga/gaversion.h
perl -pi -e 'chop($$dt=`date +"%Y/%m/%d %H:%M:%S"`); s/Date: ..\/..\/.. ..:..:.. /Date: $$dt /' $(RELDIR)/ga/gaversion.h
cd $(RELDIR)/..; tar cvfz galib$(GALIB_VER).tgz galib$(GALIB_VER) > $(TMPDIR)/galib$(GALIB_VER)-manifest-tar.txt
cd $(RELDIR)/..; zip -r galib$(GALIB_VER).zip galib$(GALIB_VER) > $(TMPDIR)/galib$(GALIB_VER)-manifest-zip.txt
@echo " GAlib $(GALIB_VERSION) has been released to $(TMPDIR)"
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/xuyangyan/galibyichuansuanfaku.git
git@gitee.com:xuyangyan/galibyichuansuanfaku.git
xuyangyan
galibyichuansuanfaku
galib遗传算法库
master

搜索帮助