Summary Files Commits Branches @commit @diff @stats
path: root / Makefile
diff options
context:
space:
mode:
Commit58af594c9d9cfe7070742ff09ef8528c11d65bef (patch)
Author
 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
2022-02-26 13:41:55 +0100
Committer
 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
2022-02-26 13:54:50 +0100
Files8afad723d41000fd849a4a76fec04cbecdecbfae /Makefile
goodwolf-58af594c9d9cfe7070742ff09ef8528c11d65bef.tar
goodwolf-58af594c9d9cfe7070742ff09ef8528c11d65bef.tar.gz
goodwolf-58af594c9d9cfe7070742ff09ef8528c11d65bef.zip
Parenteceb1437726a1fae5280ec57bb35a8065996e21d (diff)
fmt: Grab fmt_context_id for tests
1 files changed, 8 insertions, 4 deletions
-rw-r--r--Makefile12
diff --git a/Makefile b/Makefile
index 5fb1e3d..acbd6ce 100644
--- a/Makefile
+++ b/Makefile
@@ -5,11 +5,11 @@
include config.mk
-SRCS = bookmarks.c uri.c uri_test.c keybindings.c downloads.c badwolf.c
-OBJS = bookmarks.o uri.o keybindings.o downloads.o badwolf.o
-OBJS_test = uri_test.o
+SRCS = bookmarks.c fmt.c fmt_test.c uri.c uri_test.c keybindings.c downloads.c badwolf.c
+OBJS = bookmarks.o fmt.o uri.o keybindings.o downloads.o badwolf.o
+OBJS_test = fmt_test.o uri_test.o
EXE = badwolf
-EXE_test = uri_test
+EXE_test = fmt_test uri_test
TRANS = fr.mo pt_BR.mo tr.mo de.mo vi.mo
DOCS = usr.bin.badwolf README.md KnowledgeBase.md interface.txt
@@ -51,9 +51,13 @@ badwolf: $(OBJS)
uri_test: uri.o uri_test.o
$(CC) -std=c11 -o $@ uri.o uri_test.o $(LDFLAGS) $(LIBS)
+fmt_test: fmt.o fmt_test.o
+ $(CC) -std=c11 -o $@ fmt.o fmt_test.o $(LDFLAGS) $(LIBS)
+
.PHONY: test
test: $(EXE_test)
$(DBG) ./uri_test
+ $(DBG) ./fmt_test
.PHONY: lint
lint: