diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 18 |
1 files changed, 15 insertions, 3 deletions
@@ -1,6 +1,18 @@ .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. +# +# Additionally config-arm.mk which uses optimisations +# for ARMv8 is available. +# +# 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 @@ -11,7 +23,7 @@ include mk/$(OS).mk LIB_MAJOR = 1 -LIB_MINOR = 0 +LIB_MINOR = 1 LIB_VERSION = $(LIB_MAJOR).$(LIB_MINOR) @@ -90,7 +102,7 @@ libsha2.a: $(OBJ) $(AR) -s $@ check: test - ./test + $(CHECK_PREFIX) ./test $(CHECK_FLAGS) install: mkdir -p -- "$(DESTDIR)$(PREFIX)/lib" |