📄 makesc~1.txt
字号:
# For people w/o a make facility, the following should help compile
# the sgpc system.
#
# Please do read the comments in the various makefiles in regards to
# the switch settings (TYPE, COMPRESS, ...)
cd REGRESSION
cc -O -I../lib -DTYPE=float -c setup.c -o setup.o
cc -O -I../lib -DTYPE=float -c fitness.c -o fitness.o
cd ../lib
cc -O -DTYPE=float -DREP_ON_GEN=1 -DCOMPRESS='"gzip -f"' -c gpc.c -o gpc.o
cc -O -DTYPE=float -DREP_ON_GEN=1 -DCOMPRESS='"gzip -f"' -c eval.c -o eval.o
cc -O -DTYPE=float -DREP_ON_GEN=1 -DCOMPRESS='"gzip -f"' -c random.c -o random.o
cc -O -DTYPE=float -DREP_ON_GEN=1 -DCOMPRESS='"gzip -f"' -c treegen.c -o treegen.o
cc -O -DTYPE=float -DREP_ON_GEN=1 -DCOMPRESS='"gzip -f"' -c treeio.c -o treeio.o
cc -O -DTYPE=float -DREP_ON_GEN=1 -DCOMPRESS='"gzip -f"' -c treeops.c -o treeops.o
cc -O -DTYPE=float -DREP_ON_GEN=1 -DCOMPRESS='"gzip -f"' -c selection.c -o selection.o
cc -O -DTYPE=float -DREP_ON_GEN=1 -DCOMPRESS='"gzip -f"' -c crossover.c -o crossover.o
cc -O -DTYPE=float -DREP_ON_GEN=1 -DCOMPRESS='"gzip -f"' -c populations.c -o populations.o
cc -O -DTYPE=float -DREP_ON_GEN=1 -DCOMPRESS='"gzip -f"' -c generations.c -o generations.o
cc -O -DTYPE=float -DREP_ON_GEN=1 -DCOMPRESS='"gzip -f"' -c mutation.c -o mutation.o
cc -O -DTYPE=float -DREP_ON_GEN=1 -DCOMPRESS='"gzip -f"' -c getparams.c -o getparams.o
cc -O -DTYPE=float -DREP_ON_GEN=1 -DCOMPRESS='"gzip -f"' -c malloc4.c -o malloc4.o
cc -O -DTYPE=float -DREP_ON_GEN=1 -DCOMPRESS='"gzip -f"' -c qsort.c -o qsort.o
cd ..
cc -o gpcREGRESSION REGRESSION/setup.o REGRESSION/fitness.o lib/gpc.o lib/eval.o lib/random.o lib/treegen.o lib/treeio.o lib/treeops.o lib/selection.o lib/crossover.o lib/populations.o lib/generations.o lib/mutation.o lib/getparams.o lib/malloc4.o lib/qsort.o -lm
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -