aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorWojciech Kosior <kwojtus@protonmail.com>2020-05-07 01:04:48 +0200
committerWojciech Kosior <kwojtus@protonmail.com>2020-05-07 01:04:48 +0200
commit27cbe481d802d65a12e5cc5ed4c5f9faddd9afc6 (patch)
treecf7f762926663268005c239eb5ed380ba79114b2 /Makefile
parent4e051c982fbde59c458dea4c972cecff83b1f40a (diff)
download0tdns-27cbe481d802d65a12e5cc5ed4c5f9faddd9afc6.tar.gz
0tdns-27cbe481d802d65a12e5cc5ed4c5f9faddd9afc6.zip
make build/ an order-only prerequisite
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 1378ade..7601317 100644
--- a/Makefile
+++ b/Makefile
@@ -4,13 +4,13 @@ CFLAGS = -std=c99 -Wall -Werror
0tDNS : build/0tDNS.o
$(CC) $^ -lunbound -o $@
-build/0tDNS.o : src/0tDNS.c build
+build/0tDNS.o : src/0tDNS.c | build
gcc $(CFLAGS) $^ -c -o $@
receive : build/receive.o
$(CC) $^ -lldns -o $@
-build/receive.o : src/receive.c build
+build/receive.o : src/receive.c | build
gcc $(CFLAGS) $^ -c -o $@
build :