diff options
author | jvech <jmvalenciae@unal.edu.co> | 2024-08-06 14:29:42 -0500 |
---|---|---|
committer | jvech <jmvalenciae@unal.edu.co> | 2024-08-06 14:29:42 -0500 |
commit | ebd66e65bf18574fa8905d7b0ae3fbb85bfc9e06 (patch) | |
tree | da128cfa54b20abbff670c89278f0005b0f128cb /Makefile | |
parent | ce0001538820d819bf965a24ffbb6f6e6269859c (diff) |
add: file parsing improved
Things implemented:
* json_read() must die if the key does not exist or the value type is wrong.
* on predict command input should be shown exactly the same
* float precision CLI option should be added.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -1,7 +1,13 @@ include config.mk +# you can `export DEV_MODE=true` to compile the binaries with more warnings and debugging support +ifdef DEV_MODE +CFLAGS = -std=gnu11 -Wall -Wextra -g +else +CFLAGS = -std=gnu11 -Wall -O2 +endif + CC = clang -CFLAGS = -std=gnu11 -Wall -g BIN = ml OBJDIR = objs SRC = $(wildcard src/*.c) |