📄 makefile.txt
字号:
##
## SGPC: Simple Genetic Programming in C
## (c) 1993 by Walter Alden Tackett and Aviram Carmi
##
## This code and documentation is copyrighted and is not in the public domain.
## All rights reserved.
##
## - This notice may not be removed or altered.
##
## - You may not try to make money by distributing the package or by using the
## process that the code creates.
##
## - You may not distribute modified versions without clearly documenting your
## changes and notifying the principal author.
##
## - The origin of this software must not be misrepresented, either by
## explicit claim or by omission. Since few users ever read sources,
## credits must appear in the documentation.
##
## - Altered versions must be plainly marked as such, and must not be
## misrepresented as being the original software. Since few users ever read
## sources, credits must appear in the documentation.
##
## - The authors are not responsible for the consequences of use of this
## software, no matter how awful, even if they arise from flaws in it.
##
## If you make changes to the code, or have suggestions for changes,
## let us know! (gpc@ipld01.hac.com)
# $Id: Makefile,v 1.7 1993/04/23 01:56:25 gpc-avc Exp gpc-avc $
#
# invoke this Makefile with the command:
# make PROBLEM=problem [ TYPE=type ]
#
# where you have the problem-specific fitness and setup files named
# PROBNAME/fitness.c and PROBNAME/setup.c, and where PROBNAME is a string
# of your choosing. Default is REGRESSION (i.e., looks for files
# REGRESSION/fitness.c and REGRESSION/setup.c).
#
# TYPE should usually equal int or float (default),
# but in principle can be anything.
#
# $Log: Makefile,v $
# Revision 1.7 1993/04/23 01:56:25 gpc-avc
#
PROBLEM = REGRESSION
TYPE = float
DEBUG = 0
GCC_OPTS = \
-W \
-Wall \
-Wtraditional \
-Wshadow \
-Wpointer-arith \
-Wcast-qual \
-Wcast-align \
-Wconversion \
-Wstrict-prototypes \
-Wmissing-prototypes \
-Wno-unused
cc := CC = cc
cc := CFLAGS = -O
debug-cc := CC = cc
debug-cc := CFLAGS = -g
gcc := CC = gcc
gcc := CFLAGS = -O2
debug-gcc := CC = gcc
debug-gcc := CFLAGS = -g $(GCC_OPTS)
PURIFY = purify -chain-length=50 -free-queue-length=1000 -free-queue-threshold=20000 -inuse-at-exit -output-limit=8000000 -cache-dir=/u/a0u2/carmi/gpc
purify := CC = $(PURIFY) gcc
purify := CFLAGS = -g
prof := CC = gcc
prof := CFLAGS = -static -pg -g -O2
.KEEP_STATE:
cc debug-cc gcc debug-gcc purify prof lint co ci print clean real-clean depend:
(cd $(PROBLEM); \
$(MAKE) PROBLEM=$(PROBLEM) TYPE=$(TYPE) DEBUG=$(DEBUG) \
CC="$(CC)" CFLAGS="$(CFLAGS)" $@)
PROBLEM=$(PROBLEM) TYPE=$(TYPE) DEBUG=$(DEBUG) \
CC="$(CC)" CFLAGS="$(CFLAGS)" $@)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -