diff options
| author | Mattias Andrée <m@maandree.se> | 2026-09-23 21:07:56 +0200 |
|---|---|---|
| committer | Mattias Andrée <m@maandree.se> | 2026-09-23 21:07:56 +0200 |
| commit | b86ae58a37b26ac501076d2594b514e33e97e11e (patch) | |
| tree | 769f91fc2dddd1eabfc609eea1147faa1c4283c2 /Makefile | |
| parent | More testing (diff) | |
| download | librecrypt-b86ae58a37b26ac501076d2594b514e33e97e11e.tar.gz librecrypt-b86ae58a37b26ac501076d2594b514e33e97e11e.tar.bz2 librecrypt-b86ae58a37b26ac501076d2594b514e33e97e11e.tar.xz | |
Add version testing functionality and bump to version 1.2
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -14,7 +14,8 @@ include mk/$(OS).mk LIB_MAJOR = 1 -LIB_MINOR = 1 +LIB_MINOR = 2 +LIB_PATCH = 0 LIB_VERSION = $(LIB_MAJOR).$(LIB_MINOR) LIB_NAME = recrypt @@ -45,7 +46,8 @@ OBJ_PUBLIC_NO_FUZZ =\ librecrypt_set_user_data.o\ librecrypt_get_user_data.o\ librecrypt_set_pepper.o\ - librecrypt_set_custom_algorithms.o + librecrypt_set_custom_algorithms.o\ + librecrypt_version.o OBJ_PUBLIC =\ $(OBJ_PUBLIC_FUZZ)\ @@ -91,7 +93,9 @@ all: include argon2/suffix.mk -ALL_CPPFLAGS = $(CPPFLAGS) $(CPPFLAGS_MODULES) $(FUZZED_CPPFLAGS) +VERSION_CPPFLAGS = -DLIB_MAJOR=$(LIB_MAJOR) -DLIB_MINOR=$(LIB_MINOR) -DLIB_PATCH=$(LIB_PATCH) + +ALL_CPPFLAGS = $(CPPFLAGS) $(CPPFLAGS_MODULES) $(FUZZED_CPPFLAGS) $(VERSION_CPPFLAGS) ALL_CFLAGS = $(CFLAGS) $(CFLAGS_MODULES) $(FUZZED_CFLAGS) ALL_LDFLAGS = $(LDFLAGS) $(LDFLAGS_MODULES) $(FUZZED_LDFLAGS) |
