From f10263dd89a285f344d14e3f803a31a8591be906 Mon Sep 17 00:00:00 2001 From: ilovezfs Date: Thu, 21 Dec 2017 15:28:24 -0800 Subject: [PATCH] Add ARGP to Makefile Allow the prefix of argp-standalone to be passed to `make` so that the CFLAGS and LDFLAGS for argp-standalone don't have to be set manually. --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index 9f73167..ad9d4de 100644 --- a/Makefile +++ b/Makefile @@ -8,6 +8,11 @@ PREFIX = /usr/local INSTALL = install LN = ln +ARGP = /usr/local + +CFLAGS += -I$(ARGP)/include +LDFLAGS += -L$(ARGP)/lib -largp + all: $(TARGETS) extra: $(EXTRA_TARGETS)