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.
This commit is contained in:
ilovezfs 2017-12-21 15:28:24 -08:00
parent b8864dac2d
commit f10263dd89

View File

@ -8,6 +8,11 @@ PREFIX = /usr/local
INSTALL = install INSTALL = install
LN = ln LN = ln
ARGP = /usr/local
CFLAGS += -I$(ARGP)/include
LDFLAGS += -L$(ARGP)/lib -largp
all: $(TARGETS) all: $(TARGETS)
extra: $(EXTRA_TARGETS) extra: $(EXTRA_TARGETS)