all: bin/tws bin/twss bin/wwwgen bin/wwwgentest bin/wwwgentest: wwwgentest.cpp wwwroot bin/wwwgen ./bin/wwwgen $(CXX) -g -std=gnu++23 -Isrc -o bin/wwwgentest wwwgentest.cpp src/sqlite.o -lm -lpthread -ljansson -lmbedtls -lmbedx509 -lmbedcrypto `pkg-config --libs --cflags libcurl` bin/wwwgen: wwwgen.cpp $(CXX) -o bin/wwwgen wwwgen.cpp -std=gnu++23 bin/tws: src/sqlite.o src/tesseswebserver.cpp src/tesseswebserver.hpp src/tesseswebserverfeatures.hpp src/tessesscriptengine.hpp mkdir -p bin $(CXX) -g -std=gnu++23 -o bin/tws src/tesseswebserver.cpp src/sqlite.o -lm -lpthread -ljansson -lmbedtls -lmbedx509 -lmbedcrypto `pkg-config --libs --cflags libcurl` bin/twss: src/sqlite.o mkdir -p bin $(CXX) -O2 -std=gnu++23 -o bin/twss scriptengine.cpp -lm -lpthread -ljansson `pkg-config --libs --cflags libcurl` src/sqlite.o: src/sqlite3.c $(CC) -O2 -c -o src/sqlite.o src/sqlite3.c