From: Jason A. Donenfeld Date: Fri, 22 Jul 2016 12:58:30 +0000 (+0200) Subject: wg: add -MP to makefile X-Git-Tag: v1.0.20191226~328 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f304bc3199970b676eee23f9c7850f946448994f;p=thirdparty%2Fwireguard-tools.git wg: add -MP to makefile Signed-off-by: Jason A. Donenfeld --- diff --git a/src/Makefile b/src/Makefile index 512d7fe..fc0c0f3 100644 --- a/src/Makefile +++ b/src/Makefile @@ -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)