wg: add -MP to makefile

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
Jason A. Donenfeld 2016-07-22 14:58:30 +02:00
parent fc72510937
commit f304bc3199

View file

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