aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAnders Betts <anders.betts@gmail.com>2026-09-20 14:53:46 +0200
committerAnders Betts <anders.betts@gmail.com>2026-09-20 14:53:46 +0200
commit480640a747b81cb39deb1ec24e6e199a9c837fbe (patch)
treea0823b8a06f2043061f4b61b1cd0b060b85ec68e /Makefile
parent8607260080dd1eca2d724d6e5b07622fad2d4ac8 (diff)
downloadbokf-480640a747b81cb39deb1ec24e6e199a9c837fbe.tar.gz
bokf-480640a747b81cb39deb1ec24e6e199a9c837fbe.zip
db: schema v9 for invoicing, vouchers source rebuild
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 86a5ffe..72e3c0a 100644
--- a/Makefile
+++ b/Makefile
@@ -18,7 +18,8 @@ VENDOR_SRC = vendor/sqlite3.c vendor/yyjson.c vendor/sha256.c \
CORE_SRC = src/util.c src/log.c src/config.c src/db.c src/auth.c \
src/sessions.c src/audit.c src/protocol.c src/commands.c \
- src/seed.c src/ledger.c src/reports.c src/sru.c src/sie.c src/formula.c
+ src/seed.c src/ledger.c src/reports.c src/sru.c src/sie.c \
+ src/formula.c src/pdf.c
VENDOR_OBJ = $(patsubst %.c,$(BUILD)/%.o,$(VENDOR_SRC))
CORE_OBJ = $(patsubst %.c,$(BUILD)/%.o,$(CORE_SRC))
@@ -52,9 +53,14 @@ $(BUILD)/test_tui: $(BUILD)/tests/test_tui.o $(BUILD)/clients/tui.o \
$(BUILD)/vendor/sha256.o
$(CC) $(CFLAGS) -o $@ $^ -lm -lncursesw
-test: check $(BUILD)/test_core $(BUILD)/test_tui
+$(BUILD)/test_pdf: $(BUILD)/tests/pdf_check.o $(BUILD)/src/pdf.o \
+ $(BUILD)/src/util.o $(BUILD)/vendor/sha256.o
+ $(CC) $(CFLAGS) -o $@ $^ -lm
+
+test: check $(BUILD)/test_core $(BUILD)/test_tui $(BUILD)/test_pdf
$(BUILD)/test_core
$(BUILD)/test_tui
+ $(BUILD)/test_pdf
test-core: $(BUILD)/test_core
$(BUILD)/test_core