summaryrefslogtreecommitdiffstats
path: root/makefile
diff options
context:
space:
mode:
authorAnton Luka Šijanec <anton@sijanec.eu>2023-03-08 14:10:44 +0100
committerAnton Luka Šijanec <anton@sijanec.eu>2023-03-08 14:10:44 +0100
commitc0a88cd21192826df6aa86f17de5c983f6a58167 (patch)
tree8ed9b007bd9382e9e0efc4b54da832f4f7ff7aff /makefile
parentuname(2) in created by, override with CREATED_BY envvar (diff)
downloadtravnik-c0a88cd21192826df6aa86f17de5c983f6a58167.tar
travnik-c0a88cd21192826df6aa86f17de5c983f6a58167.tar.gz
travnik-c0a88cd21192826df6aa86f17de5c983f6a58167.tar.bz2
travnik-c0a88cd21192826df6aa86f17de5c983f6a58167.tar.lz
travnik-c0a88cd21192826df6aa86f17de5c983f6a58167.tar.xz
travnik-c0a88cd21192826df6aa86f17de5c983f6a58167.tar.zst
travnik-c0a88cd21192826df6aa86f17de5c983f6a58167.zip
Diffstat (limited to 'makefile')
-rw-r--r--makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/makefile b/makefile
index bc6b7f9..9adf031 100644
--- a/makefile
+++ b/makefile
@@ -8,7 +8,7 @@ default: travnik metainfo.o metainfo utils
tmp:
mkdir -p tmp
-travnik: src/main.c
+travnik: src/main.c src/dht.c src/tcp.c src/bencoding.c
$(CC) $(MYCFLAGS) $(CFLAGS) $< -o$@ $(MYLDFLAGS) $(LDFLAGS)
metainfo: src/metainfo.c
@@ -19,7 +19,7 @@ metainfo.o: src/metainfo.c
utils: tmp/midpoint tmp/bencoding tmp/dns tmp/info
-tmp/%: utils/%.c src/dht.c tmp
+tmp/%: utils/%.c src/dht.c src/tcp.c tmp
$(CC) $(MYCFLAGS) $(CFLAGS) $< -o$@ $(MYLDFLAGS) $(LDFLAGS)
install: