]> git.ipfire.org Git - thirdparty/wireguard-tools.git/commitdiff
wg: add -MP to makefile
authorJason A. Donenfeld <Jason@zx2c4.com>
Fri, 22 Jul 2016 12:58:30 +0000 (14:58 +0200)
committerJason A. Donenfeld <Jason@zx2c4.com>
Fri, 22 Jul 2016 12:58:30 +0000 (14:58 +0200)
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
src/Makefile

index 512d7fe408829e54d75a4bd161cbf048c5dcbf21..fc0c0f3f7e05fcd5f99eed5e6bb31d63df47e888 100644 (file)
@@ -8,7 +8,7 @@ RUNSTATEDIR ?= /var/run
 CFLAGS ?= -O3
 CFLAGS += -std=gnu11
 CFLAGS += -pedantic -Wall -Wextra
-CFLAGS += -MMD
+CFLAGS += -MMD -MP
 CFLAGS += -DRUNSTATEDIR="\"$(RUNSTATEDIR)\""
 LDLIBS += -lresolv
 ifeq ($(shell uname -s),Linux)