aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAnders Betts <anders.betts@gmail.com>2026-09-20 09:20:39 +0200
committerAnders Betts <anders.betts@gmail.com>2026-09-20 09:20:39 +0200
commita3ad2857f7b47202cd7ff74f965d09d691b06317 (patch)
tree2740835a8a58ae3fe98d5cff7598c6fbed2a8d68 /Makefile
parent5b27bb0950fd03d29c223b5960faff89baf37970 (diff)
downloadbokf-a3ad2857f7b47202cd7ff74f965d09d691b06317.tar.gz
bokf-a3ad2857f7b47202cd7ff74f965d09d691b06317.zip
deploy: alpine runtime image with the daemon and CLI onlyv0.1.45
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index fee00c9..d67e92e 100644
--- a/Makefile
+++ b/Makefile
@@ -25,6 +25,8 @@ CORE_OBJ = $(patsubst %.c,$(BUILD)/%.o,$(CORE_SRC))
all: $(BUILD)/bokfd $(BUILD)/bokfctl $(BUILD)/bokftui
+backend: $(BUILD)/bokfd $(BUILD)/bokfctl
+
SSL_LIBS = -lssl -lcrypto
$(BUILD)/bokfd: $(BUILD)/src/bokfd.o $(CORE_OBJ) $(VENDOR_OBJ)
@@ -54,6 +56,9 @@ test: $(BUILD)/test_core $(BUILD)/test_tui
$(BUILD)/test_core
$(BUILD)/test_tui
+test-core: $(BUILD)/test_core
+ $(BUILD)/test_core
+
$(BUILD)/vendor/%.o: vendor/%.c
@mkdir -p $(dir $@)
$(CC) $(CFLAGS) $(DEPFLAGS) $(CPPFLAGS) $(DEFS) -w -c $< -o $@
@@ -84,4 +89,4 @@ install: all
clean:
rm -rf $(BUILD)
-.PHONY: all test install clean
+.PHONY: all backend test test-core install clean