Welcome to little lamb

Code » limb » commit 67544a7

Switch to objects/deps files put into obj/

author Olivier Brunel
2023-02-06 10:06:29 UTC
committer Olivier Brunel
2023-02-06 10:06:29 UTC
parent e1311c050b9812dc76534591ae3ccda873fcd9be

Switch to objects/deps files put into obj/

meta/libs/limb +16 -16
project.mk +6 -6

diff --git a/meta/libs/limb b/meta/libs/limb
index ab2f38a..9f9e3b7 100644
--- a/meta/libs/limb
+++ b/meta/libs/limb
@@ -1,24 +1,24 @@
 # ouput.h
-src/put.o
+obj/put.o
 # openat stuff
-src/open_exclat.o
-src/open_createat.o
-src/openc_exclat.o
-src/openc_createat.o
+obj/open_exclat.o
+obj/open_createat.o
+obj/openc_exclat.o
+obj/openc_createat.o
 # find msb
-src/msb64.o
+obj/msb64.o
 # SHA3
-src/sha3/byte_order.o
-src/sha3/rhash_sha3_process_block.o
-src/sha3/sha3_final.o
-src/sha3/sha3_init.o
-src/sha3/sha3.o
-src/sha3/sha3_update.o
+obj/sha3/byte_order.o
+obj/sha3/rhash_sha3_process_block.o
+obj/sha3/sha3_final.o
+obj/sha3/sha3_init.o
+obj/sha3/sha3.o
+obj/sha3/sha3_update.o
 # BLAKE3
-src/blake3/blake3.o
-src/blake3/blake3_impl.o
-src/blake3/blake3_dispatch.o
-src/blake3/blake3_portable.o
+obj/blake3/blake3.o
+obj/blake3/blake3_impl.o
+obj/blake3/blake3_dispatch.o
+obj/blake3/blake3_portable.o
 $$(BLAKE3_OPTIMIZ)
 # skalibs dependency
 skalibs
diff --git a/project.mk b/project.mk
index f72ea69..d20f193 100644
--- a/project.mk
+++ b/project.mk
@@ -1,14 +1,14 @@
 LIBS = limb
 
 ifeq ($(BITS),64)
-BLAKE3_OPTIMIZ := src/blake3/blake3_avx2_x86-64_unix.o \
-				  src/blake3/blake3_avx512_x86-64_unix.o \
-				  src/blake3/blake3_sse2_x86-64_unix.o \
-				  src/blake3/blake3_sse41_x86-64_unix.o
+BLAKE3_OPTIMIZ := obj/blake3/blake3_avx2_x86-64_unix.o \
+				  obj/blake3/blake3_avx512_x86-64_unix.o \
+				  obj/blake3/blake3_sse2_x86-64_unix.o \
+				  obj/blake3/blake3_sse41_x86-64_unix.o
 BLAKE3_OPTIMIZ_so := $(BLAKE3_OPTIMIZ)
 else
-BLAKE3_OPTIMIZ := src/blake3/blake3_avx2.o src/blake3/blake3_avx512.o \
-				  src/blake3/blake3_sse2.o src/blake3/blake3_sse41.o
+BLAKE3_OPTIMIZ := obj/blake3/blake3_avx2.o obj/blake3/blake3_avx512.o \
+				  obj/blake3/blake3_sse2.o obj/blake3/blake3_sse41.o
 BLAKE3_OPTIMIZ_so := $(BLAKE3_OPTIMIZ:.o=.lo)
 
 CFLAGS_blake3/blake3_avx2 = -mavx2