aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2024-10-14 18:24:48 +0200
committerMattias Andrée <m@maandree.se>2024-10-14 18:24:48 +0200
commit2749dec4940ec8345bbe1eee8b9d554d3d4aa5f4 (patch)
treeb2b4396679eb21af3737fb3c27d139a818f7055e /Makefile
parentFix whitespace (diff)
downloadlibsha2-2749dec4940ec8345bbe1eee8b9d554d3d4aa5f4.tar.gz
libsha2-2749dec4940ec8345bbe1eee8b9d554d3d4aa5f4.tar.bz2
libsha2-2749dec4940ec8345bbe1eee8b9d554d3d4aa5f4.tar.xz
Rename config.mk to config-x86.mk and add config-portable.mk
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 76278fc..3eee714 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,15 @@
.POSIX:
-CONFIGFILE = config.mk
+CONFIGFILE = config-x86.mk
+# config-x86.mk is the default because it is compatible
+# with and optimal for most machines, and if it is not
+# supported, the compilation will immediately fail. It
+# enables optimisations on x86 CPU's that have the
+# required features.
+#
+# config-portable.mk is available for exotic CPU's
+# and compiler that do not support the features required
+# for the optimisations.
include $(CONFIGFILE)
OS = linux