summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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: