diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2016-07-22 14:58:30 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2016-07-22 14:58:30 +0200 |
commit | f304bc3199970b676eee23f9c7850f946448994f (patch) | |
tree | 21dd07a2a54fdbac100852db77b9823f317cf08f /src/Makefile | |
parent | wg: add default cflag (diff) | |
download | wireguard-tools-f304bc3199970b676eee23f9c7850f946448994f.tar.xz wireguard-tools-f304bc3199970b676eee23f9c7850f946448994f.zip |
wg: add -MP to makefile
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/Makefile')
-rw-r--r-- | src/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
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) |