lix/src/nix/local.mk

14 lines
246 B
Makefile
Raw Normal View History

programs += nix
nix_DIR := $(d)
nix_SOURCES := $(wildcard $(d)/*.cc)
nix_LIBS = libexpr libmain libstore libutil libformat
2017-04-28 14:53:56 +00:00
ifeq ($(HAVE_READLINE), 1)
nix_LDFLAGS += -lreadline
endif
2017-04-25 16:48:40 +00:00
$(eval $(call install-symlink, nix, $(bindir)/nix-hash))