/usr/share/doc/libfann-doc/examples/Makefile is in libfann-doc 2.1.0~beta~dfsg-8.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | #!/usr/bin/make -f
# Based on upstream's makefile for the examples, see $SRC/examples/Makefile
# See the README in this directory for instructions on how to run this
CC=gcc
TARGETS = xor_train xor_test simple_train steepness_train simple_test robot mushroom cascade_train scaling_test scaling_train
all: $(TARGETS)
%: /usr/share/doc/libfann-doc/examples/%.c
$(CC) -O3 $< -o $@ -lm -lfann
clean:
rm -f $(TARGETS) xor_fixed.data *.net
runtest: $(TARGETS)
@echo
@echo Training network
./xor_train
@echo
@echo Testing network with floats
./xor_test
|