diff options
Diffstat (limited to 'mk')
-rw-r--r-- | mk/os-prefix.mk | 6 | ||||
-rw-r--r-- | mk/os.mk | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/mk/os-prefix.mk b/mk/os-prefix.mk new file mode 100644 index 00000000..94fda963 --- /dev/null +++ b/mk/os-prefix.mk @@ -0,0 +1,6 @@ +# Copyright (c) 2012 William Hubbs <w.d.hubbs@gmail.com> +# Released under the 2-clause BSD license. + +ifeq (${MKPREFIX},yes} +CPPFLAGS+= -DPREFIX +endif @@ -7,5 +7,6 @@ _OS_SH= uname -s _OS:= $(shell ${_OS_SH}) OS?= ${_OS} include ${MK}/os-${OS}.mk +include ${MK}/os-prefix.mk RC_LIB= /$(LIBNAME)/rc |