From c0a88cd21192826df6aa86f17de5c983f6a58167 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20Luka=20=C5=A0ijanec?= Date: Wed, 8 Mar 2023 14:10:44 +0100 Subject: add included files to makefile --- makefile | 4 ++-- 1 file 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: -- cgit v1.2.3