nix/mk/build-dir.mk

11 lines
180 B
Makefile
Raw Normal View History

# Initialise support for build directories.
builddir ?=
ifdef builddir
buildprefix = $(builddir)/
buildprefixrel = $(builddir)
else
buildprefix =
buildprefixrel = .
endif