From 27cbe481d802d65a12e5cc5ed4c5f9faddd9afc6 Mon Sep 17 00:00:00 2001 From: Wojciech Kosior Date: Thu, 7 May 2020 01:04:48 +0200 Subject: make build/ an order-only prerequisite --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') 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 : -- cgit v1.2.3