CSV is GONE, time for SQLITE

CSV sucks and Datbases are the proper way to be doing stuff like this
not to mention, it ditches a lot of potentially unsafe code because
we're no longer doing lots of file operations
This commit is contained in:
SuperNovaa41
2024-01-31 11:53:09 -05:00
parent 43e69fa342
commit ba2acb23ec
7 changed files with 147 additions and 183 deletions

View File

@ -1,5 +1,5 @@
all: src/*.c
gcc src/main.c src/json.c src/curl.c src/csv.c -lcurl -lcjson -o isbn -Wall
gcc src/main.c src/json.c src/curl.c src/db.c -lsqlite3 -lcurl -lcjson -o isbn -Wall
mkdir -p build
mv isbn build
clean: