aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTristan Riehs <tristan.riehs@inria.fr>2026-04-26 12:22:52 +0200
committerTristan Riehs <tristan.riehs@inria.fr>2026-04-26 12:30:07 +0200
commitc89eb42d58321d3e1325a684ef50a05ee3f99cfa (patch)
tree811a2f7ad41618fa975dbe7d2212377edd599a4a /Makefile
parent2991c0b3560781344488680625954aa3ef0893c6 (diff)
Add a "input" module
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index adec8b4..5ceade2 100644
--- a/Makefile
+++ b/Makefile
@@ -27,7 +27,7 @@ export __LIBS := $(shell pkg-config --libs sqlite3)
all: $(PROG)
-$(PROG): src/main.o src/system.o src/utils.o
+$(PROG): src/main.o src/input.o src/system.o src/utils.o
$(CC) -o $@ $^ $(__LIBS) $(LDFLAGS) $(LIBS)
# Create cache and config directories at compile time since they will be used by
# the user who compiled ftag
@@ -35,7 +35,8 @@ $(PROG): src/main.o src/system.o src/utils.o
mkdir -p $(FTAG_CACHE_DIR)
mkdir -p $(FTAG_CONFIG_DIR)
-src/main.o: src/main.c src/system.h src/utils.h
+src/main.o: src/main.c src/input.h src/system.h src/utils.h
+src/input.o: src/input.c src/input.h
src/system.o: src/system.c src/system.h
src/utils.o: src/utils.c src/system.h src/utils.h
.c.o: