diff options
author | Mattias Andrée <maandree@kth.se> | 2019-02-09 21:20:27 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2019-02-09 21:20:27 +0100 |
commit | 6bfa83038b4a4f1c76c48b6c709f0c99a1451f36 (patch) | |
tree | f6226c464ff901fd5aa8e3d20aa24f5a83c5fd04 | |
parent | Add install and uninstall rules to Makefile (diff) | |
download | libsha2-6bfa83038b4a4f1c76c48b6c709f0c99a1451f36.tar.gz libsha2-6bfa83038b4a4f1c76c48b6c709f0c99a1451f36.tar.bz2 libsha2-6bfa83038b4a4f1c76c48b6c709f0c99a1451f36.tar.xz |
Improve makefile: mv LIBEXT and LIBFLAGS to config.mk
Signed-off-by: Mattias Andrée <maandree@kth.se>
-rw-r--r-- | Makefile | 3 | ||||
-rw-r--r-- | config.mk | 5 |
2 files changed, 4 insertions, 4 deletions
@@ -6,9 +6,6 @@ LIB_MAJOR = 1 LIB_MINOR = 0 LIB_VERSION = $(LIB_MAJOR).$(LIB_MINOR) -LIBEXT = so -LIBFLAGS = -shared -Wl,-soname,libsha2.$(LIBEXT).$(LIB_MAJOR) - include $(CONFIGFILE) @@ -1,6 +1,9 @@ -PREFIX = /usr +PREFIX = /usr MANPREFIX = $(PREFIX)/share/man CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 CFLAGS = -std=c99 -Wall -Wextra -O3 $(CPPFLAGS) LDFLAGS = -s + +LIBEXT = so +LIBFLAGS = -shared -Wl,-soname,libsha2.$(LIBEXT).$(LIB_MAJOR) |