diff options
| author | Anders Betts <anders.betts@gmail.com> | 2026-09-19 21:58:58 +0200 |
|---|---|---|
| committer | Anders Betts <anders.betts@gmail.com> | 2026-09-19 21:58:58 +0200 |
| commit | 4329ffb98d7eeffe2b3874d2b31cb0857d33d944 (patch) | |
| tree | 16e777dc90fa334ce3f436a3b5d3a7a9efdbd8b9 /Makefile | |
| parent | 34fc2b1dce788fbb093e70c2124630167e7980ef (diff) | |
| download | bokf-0.1.36.tar.gz bokf-0.1.36.zip | |
tui: shared widget layer (fields, prompts, lists, forms, pager) + testsv0.1.36
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 14 |
1 files changed, 11 insertions, 3 deletions
@@ -35,7 +35,8 @@ $(BUILD)/bokfctl: $(BUILD)/clients/bokfctl.o $(BUILD)/clients/client.o \ $(BUILD)/vendor/sha256.o $(CC) $(CFLAGS) -o $@ $^ -lm $(SSL_LIBS) -$(BUILD)/bokftui: $(BUILD)/clients/bokftui.o $(BUILD)/clients/client.o \ +$(BUILD)/bokftui: $(BUILD)/clients/bokftui.o $(BUILD)/clients/tui.o \ + $(BUILD)/clients/client.o \ $(BUILD)/src/util.o $(BUILD)/src/log.o $(BUILD)/src/formula.o \ $(BUILD)/vendor/yyjson.o $(BUILD)/vendor/sha256.o $(CC) $(CFLAGS) -o $@ $^ -lm -lncursesw $(SSL_LIBS) @@ -44,8 +45,14 @@ $(BUILD)/test_core: $(BUILD)/tests/test_core.o $(BUILD)/clients/client.o \ $(CORE_OBJ) $(VENDOR_OBJ) $(CC) $(CFLAGS) -o $@ $^ -lm $(SSL_LIBS) -test: $(BUILD)/test_core +$(BUILD)/test_tui: $(BUILD)/tests/test_tui.o $(BUILD)/clients/tui.o \ + $(BUILD)/src/util.o $(BUILD)/src/log.o $(BUILD)/vendor/yyjson.o \ + $(BUILD)/vendor/sha256.o + $(CC) $(CFLAGS) -o $@ $^ -lm -lncursesw + +test: $(BUILD)/test_core $(BUILD)/test_tui $(BUILD)/test_core + $(BUILD)/test_tui $(BUILD)/vendor/%.o: vendor/%.c @mkdir -p $(dir $@) @@ -65,7 +72,8 @@ $(BUILD)/tests/%.o: tests/%.c -include $(VENDOR_OBJ:.o=.d) $(CORE_OBJ:.o=.d) $(BUILD)/src/bokfd.d \ $(BUILD)/clients/bokfctl.d $(BUILD)/clients/bokftui.d \ - $(BUILD)/clients/client.d $(BUILD)/tests/test_core.d + $(BUILD)/clients/tui.d $(BUILD)/clients/client.d \ + $(BUILD)/tests/test_core.d $(BUILD)/tests/test_tui.d install: all install -d $(DESTDIR)/usr/local/bin $(DESTDIR)/usr/local/share/bokf |
