aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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