Commit 83dc34cc authored by Vivien Kraus's avatar Vivien Kraus
Browse files

Use a convenient Makefile target to run the perceptron bootstrap

parent 44c07464
......@@ -29,3 +29,9 @@ src_libtarot_libtarot_la_SOURCES += \
INTROSPECTED_SOURCES += %reldir%/perceptron.c %reldir%/julien/julien.c \
%reldir%/tarot/perceptron_private_static_weights.h \
%reldir%/tarot/perceptron_private_static_structure.h
.PHONY: perceptron-bootstrap
perceptron-bootstrap: all
echo "16, 16" > $(srcdir)/%reldir%/tarot/perceptron_private_static_structure.h
./src/tarot-app/tarot-perceptron-bootstrap 16 16 | while read line ; do echo "$$line" | $(INDENT) > $(srcdir)/%reldir%/tarot/perceptron_private_static_weights.h ; done
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment