diff --git a/Makefile b/Makefile index bd4ac20..2215799 100644 --- a/Makefile +++ b/Makefile @@ -9,10 +9,18 @@ PACKAGE_BUGREPORT := https://github.com/kaniini/ifupdown-ng/issues/new INTERFACES_FILE := /etc/network/interfaces STATE_FILE := /run/ifstate +EXECUTOR_PATH := /usr/libexec/ifupdown-ng + CFLAGS ?= -ggdb3 -Os CFLAGS += -Wall -Wextra CFLAGS += ${LIBBSD_CFLAGS} -CPPFLAGS = -I. -DINTERFACES_FILE=\"${INTERFACES_FILE}\" -DSTATE_FILE=\"${STATE_FILE}\" -DPACKAGE_NAME=\"${PACKAGE_NAME}\" -DPACKAGE_VERSION=\"${PACKAGE_VERSION}\" -DPACKAGE_BUGREPORT=\"${PACKAGE_BUGREPORT}\" +CPPFLAGS = -I. +CPPFLAGS += -DINTERFACES_FILE=\"${INTERFACES_FILE}\" +CPPFLAGS += -DSTATE_FILE=\"${STATE_FILE}\" +CPPFLAGS += -DPACKAGE_NAME=\"${PACKAGE_NAME}\" +CPPFLAGS += -DPACKAGE_VERSION=\"${PACKAGE_VERSION}\" +CPPFLAGS += -DPACKAGE_BUGREPORT=\"${PACKAGE_BUGREPORT}\" +CPPFLAGS += -DEXECUTOR_PATH=\"${EXECUTOR_PATH}\" LIBIFUPDOWN_SRC = \