
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
7 lines
151 B
Makefile
7 lines
151 B
Makefile
all: src/*.c
|
|
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:
|
|
rm -rf build
|