chore: structure project documentation
This commit is contained in:
parent
de0393f9f3
commit
8c8361b4c2
6 changed files with 13 additions and 2 deletions
Binary file not shown.
BIN
bdd.sqlite
Normal file
BIN
bdd.sqlite
Normal file
Binary file not shown.
11
enquete-gui/.gitignore
vendored
Normal file
11
enquete-gui/.gitignore
vendored
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
# Build
|
||||||
|
enquete-gui
|
||||||
|
*.o
|
||||||
|
|
||||||
|
# SQLite temporaires
|
||||||
|
*.sqlite-shm
|
||||||
|
*.sqlite-wal
|
||||||
|
|
||||||
|
# Neovim / LSP
|
||||||
|
.cache/
|
||||||
|
compile_commands.json
|
||||||
|
|
@ -2,7 +2,7 @@ CC = gcc
|
||||||
|
|
||||||
PKG_CONFIG = pkg-config
|
PKG_CONFIG = pkg-config
|
||||||
|
|
||||||
CFLAGS = -Wall -Wextra -Wpedantic -std=c23 -g \
|
CFLAGS = -Wall -Wextra -Wpedantic -Werror -std=c17 -g \
|
||||||
-Iinclude \
|
-Iinclude \
|
||||||
$(shell $(PKG_CONFIG) --cflags gtk4 sqlite3)
|
$(shell $(PKG_CONFIG) --cflags gtk4 sqlite3)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@ int main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
sqlite3 *db = NULL;
|
sqlite3 *db = NULL;
|
||||||
|
|
||||||
if (db_open(&db, "Enquete.sqlite") != 0) {
|
if (db_open(&db, "../../03_Chronologie/Enquete.sqlite") != 0) {
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue