diff options
author | jvech <jmvalenciae@unal.edu.co> | 2024-07-24 15:31:02 -0500 |
---|---|---|
committer | jvech <jmvalenciae@unal.edu.co> | 2024-07-24 15:31:02 -0500 |
commit | d45581c0b067b9526ce88ba9d3a1bd861f4ff7cc (patch) | |
tree | a907346b2b282437537d7f4f6b138b3efddcce22 /Makefile | |
parent | b9deaf6ec1ba587f2b81a63c75b696c6def33436 (diff) |
add: file_read() and format integraded on main program
things implemented:
- read output in false bug was solved.
- Make generic rule added to build test executables
- format option added to the CLI
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -48,9 +48,12 @@ run: build @jq -r '.[] | [values[] as $$val | $$val] | @tsv' data/sample_data.json > data/sample_data.tsv @gnuplot utils/plot.gpi +test_%: src/%.c $(OBJDIR) + $(shell sed -n 's/.*compile: clang/clang/;/clang/p' $<) + debug: build gdb -x utils/commands.gdb --tui --args ${BIN} train data/xor.json -e 100 @#gdb -x utils/commands.gdb --tui --args ${BIN} predict data/sample_data.json clean: - @rm $(OBJS) $(OBJDIR) -rv + @rm $(OBJDIR) -rv |