summaryrefslogtreecommitdiffstats
path: root/makefile
diff options
context:
space:
mode:
authorAnton Luka Šijanec <anton@sijanec.eu>2024-02-06 17:27:02 +0100
committerAnton Luka Šijanec <anton@sijanec.eu>2024-02-06 17:27:02 +0100
commitfe476404b4ce134c946d1754d2652461340c1186 (patch)
tree789f9f4fdd656b861e607ebc5ffd7e5c5fbb8deb /makefile
parentMerge branch 'master' of ssh://ni.sijanec.eu/var/lib/git/sijanec/travnik (diff)
downloadtravnik-fe476404b4ce134c946d1754d2652461340c1186.tar
travnik-fe476404b4ce134c946d1754d2652461340c1186.tar.gz
travnik-fe476404b4ce134c946d1754d2652461340c1186.tar.bz2
travnik-fe476404b4ce134c946d1754d2652461340c1186.tar.lz
travnik-fe476404b4ce134c946d1754d2652461340c1186.tar.xz
travnik-fe476404b4ce134c946d1754d2652461340c1186.tar.zst
travnik-fe476404b4ce134c946d1754d2652461340c1186.zip
Diffstat (limited to 'makefile')
-rw-r--r--makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/makefile b/makefile
index 9adf031..8b6bd0a 100644
--- a/makefile
+++ b/makefile
@@ -11,10 +11,10 @@ tmp:
travnik: src/main.c src/dht.c src/tcp.c src/bencoding.c
$(CC) $(MYCFLAGS) $(CFLAGS) $< -o$@ $(MYLDFLAGS) $(LDFLAGS)
-metainfo: src/metainfo.c
+metainfo: src/metainfo.c src/metainfo.h
$(CC) $(MYCFLAGS) $(CFLAGS) $< -o$@ $(MYLDFLAGS) $(LDFLAGS)
-metainfo.o: src/metainfo.c
+metainfo.o: src/metainfo.c src/metainfo.h
$(CC) -fPIC $(MYCFLAGS) $(CFLAGS) $< -o$@ $(MYLDFLAGS) $(LDFLAGS)
utils: tmp/midpoint tmp/bencoding tmp/dns tmp/info