#! /bin/sh -e # This file is automatically generated with: tup generate build.sh export tup_vardict="$(cd $(dirname $0) && pwd)/tup-generate.vardict" (mkdir gen) (xxd -i theme.css gen/theme.c) (gcc -g3 -std=c2x -Wall -Wextra -iquoteinc -iquotevendors -include_.h -Dnullptr=NULL -c -o build/db.o src/db.c) (gcc -g3 -std=c2x -Wall -Wextra -iquoteinc -iquotevendors -include_.h -Dnullptr=NULL -c -o build/fetch.o src/fetch.c) (gcc -g3 -std=c2x -Wall -Wextra -iquoteinc -iquotevendors -include_.h -Dnullptr=NULL -c -o build/handler_admin.o src/handler_admin.c) (gcc -g3 -std=c2x -Wall -Wextra -iquoteinc -iquotevendors -include_.h -Dnullptr=NULL -c -o build/handler_admin_newuser.o src/handler_admin_newuser.c) (gcc -g3 -std=c2x -Wall -Wextra -iquoteinc -iquotevendors -include_.h -Dnullptr=NULL -c -o build/handler_admin_setpass.o src/handler_admin_setpass.c) (gcc -g3 -std=c2x -Wall -Wextra -iquoteinc -iquotevendors -include_.h -Dnullptr=NULL -c -o build/handler_film.o src/handler_film.c) (gcc -g3 -std=c2x -Wall -Wextra -iquoteinc -iquotevendors -include_.h -Dnullptr=NULL -c -o build/handler_film_fetch.o src/handler_film_fetch.c) (gcc -g3 -std=c2x -Wall -Wextra -iquoteinc -iquotevendors -include_.h -Dnullptr=NULL -c -o build/handler_film_poster.o src/handler_film_poster.c) (gcc -g3 -std=c2x -Wall -Wextra -iquoteinc -iquotevendors -include_.h -Dnullptr=NULL -c -o build/handler_film_poster_set.o src/handler_film_poster_set.c) (gcc -g3 -std=c2x -Wall -Wextra -iquoteinc -iquotevendors -include_.h -Dnullptr=NULL -c -o build/handler_film_rate.o src/handler_film_rate.c) (gcc -g3 -std=c2x -Wall -Wextra -iquoteinc -iquotevendors -include_.h -Dnullptr=NULL -c -o build/handler_filmlist.o src/handler_filmlist.c) (gcc -g3 -std=c2x -Wall -Wextra -iquoteinc -iquotevendors -include_.h -Dnullptr=NULL -c -o build/handler_index.o src/handler_index.c) (gcc -g3 -std=c2x -Wall -Wextra -iquoteinc -iquotevendors -include_.h -Dnullptr=NULL -c -o build/handler_login.o src/handler_login.c) (gcc -g3 -std=c2x -Wall -Wextra -iquoteinc -iquotevendors -include_.h -Dnullptr=NULL -c -o build/handler_logout.o src/handler_logout.c) (gcc -g3 -std=c2x -Wall -Wextra -iquoteinc -iquotevendors -include_.h -Dnullptr=NULL -c -o build/handler_person.o src/handler_person.c) (gcc -g3 -std=c2x -Wall -Wextra -iquoteinc -iquotevendors -include_.h -Dnullptr=NULL -c -o build/handler_personlist.o src/handler_personlist.c) (gcc -g3 -std=c2x -Wall -Wextra -iquoteinc -iquotevendors -include_.h -Dnullptr=NULL -c -o build/handler_theme.o src/handler_theme.c) (gcc -g3 -std=c2x -Wall -Wextra -iquoteinc -iquotevendors -include_.h -Dnullptr=NULL -c -o build/handler_user.o src/handler_user.c) (gcc -g3 -std=c2x -Wall -Wextra -iquoteinc -iquotevendors -include_.h -Dnullptr=NULL -c -o build/handler_userlist.o src/handler_userlist.c) (gcc -g3 -std=c2x -Wall -Wextra -iquoteinc -iquotevendors -include_.h -Dnullptr=NULL -c -o build/hash.o src/hash.c) (gcc -g3 -std=c2x -Wall -Wextra -iquoteinc -iquotevendors -include_.h -Dnullptr=NULL -c -o build/main.o src/main.c) (gcc -g3 -std=c2x -Wall -Wextra -iquoteinc -iquotevendors -include_.h -Dnullptr=NULL -c -o build/request.o src/request.c) (gcc -g3 -std=c2x -Wall -Wextra -iquoteinc -iquotevendors -include_.h -Dnullptr=NULL -c -o build/router.o src/router.c) (gcc -g3 -std=c2x -Wall -Wextra -iquoteinc -iquotevendors -include_.h -Dnullptr=NULL -c -o build/session.o src/session.c) (gcc -g3 -std=c2x -Wall -Wextra -iquoteinc -iquotevendors -include_.h -Dnullptr=NULL -c -o build/sessionmanager.o src/sessionmanager.c) (gcc -g3 -std=c2x -Wall -Wextra -iquoteinc -iquotevendors -include_.h -Dnullptr=NULL -c -o build/string.o src/string.c) (gcc -g3 -std=c2x -Wall -Wextra -iquoteinc -iquotevendors -include_.h -Dnullptr=NULL -c -o build/tmdb.o src/tmdb.c) (gcc -g3 -std=c2x -Wall -Wextra -iquoteinc -iquotevendors -include_.h -Dnullptr=NULL -c -o build/userinfo.o src/userinfo.c) (gcc -g3 -std=c2x -Wall -Wextra -iquoteinc -iquotevendors -include_.h -Dnullptr=NULL -c -o build/_.o vendors/_.c) (gcc -g3 -std=c2x -Wall -Wextra -iquoteinc -iquotevendors -include_.h -Dnullptr=NULL -c -o build/cJSON.o vendors/cJSON.c) (gcc -g3 -std=c2x -Wall -Wextra -iquoteinc -iquotevendors -include_.h -Dnullptr=NULL -c -o build/theme.o gen/theme.c) (gcc -o betterboxd build/db.o build/fetch.o build/handler_admin.o build/handler_admin_newuser.o build/handler_admin_setpass.o build/handler_film.o build/handler_film_fetch.o build/handler_film_poster.o build/handler_film_poster_set.o build/handler_film_rate.o build/handler_filmlist.o build/handler_index.o build/handler_login.o build/handler_logout.o build/handler_person.o build/handler_personlist.o build/handler_theme.o build/handler_user.o build/handler_userlist.o build/hash.o build/main.o build/request.o build/router.o build/session.o build/sessionmanager.o build/string.o build/tmdb.o build/userinfo.o build/_.o build/cJSON.o build/theme.o -lmicrohttpd -lsqlite3 -lcurl -largon2 -lsodium -lm)