makereal.unx

来自「bp神经网络,反向传播神经网络!感觉还不错的」· UNX 代码 · 共 30 行

UNX
30
字号
# This makefile makes the most commonly used entirely floating point
# version, bp and leaves the object files around.  Use makefile.unx for
# the other possible programs.

# If your C uses the ANSI standard of single precision arithmetic
# instead of the original Kernighan and Richie standard of double for
# all floating point arithmetic you will probably want to change the
# -DDOUBLE flag to -DFLOAT.

# If you're using BSD add the flag -DBSD.  If you're using a NeXT add
# the flag -DNEXT.  Suns and System V variations don't need an extra
# flag.

CFLAGS= -s -DDOUBLE -DUNIX

bp: bp.o io.o misc.o real.o makereal.unx rbp.h
	cc $(CFLAGS) bp.o io.o misc.o real.o -lm -o bp

bp.o: bp.c rbp.h makereal.unx
	cc $(CFLAGS) bp.c -c

io.o: io.c rbp.h makereal
	cc $(CFLAGS) io.c -c -O

misc.o: misc.c rbp.h makereal
	cc $(CFLAGS) misc.c -c -O

real.o: real.c rbp.h makereal
	cc $(CFLAGS) real.c -c -O

⌨️ 快捷键说明

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