summaryrefslogtreecommitdiff
path: root/mk/os-prefix.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk/os-prefix.mk')
-rw-r--r--mk/os-prefix.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/mk/os-prefix.mk b/mk/os-prefix.mk
new file mode 100644
index 0000000..94fda96
--- /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