commit 432fcaaf5d2550bf6b2360317083a6e056980176
parent 81e7ddf21994912f583025c17daf12f3916eb6a8
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Wed, 19 Jul 2023 11:29:03 +0200
Rename .pkg file to .config
Diffstat:
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/.gitignore b/.gitignore
@@ -9,5 +9,5 @@ test*
!test*.[ch]
.test
.simd
-.pkg
+.config
rsimd*.pc
diff --git a/Makefile b/Makefile
@@ -33,7 +33,7 @@ DEP = $(SRC:.c=.d)
build_library:
-build_library__: .pkg $(DEP)
+build_library__: .config $(DEP)
@$(MAKE) -f.simd -fMakefile $$(for i in $(DEP); do echo -f $${i}; done) \
$$(if [ -n "$(LIBNAME)" ]; then\
echo "$(LIBNAME)";\
@@ -50,7 +50,7 @@ $(LIBNAME_STATIC): $(OBJ)
$(AR) -rc $@ $?
$(RANLIB) $@
-.pkg: make.sh config.mk
+.config: make.sh config.mk
@if ! $(PKG_CONFIG) --atleast-version $(RSYS_VERSION) rsys; then \
echo "rsys $(RSYS_VERSION) not found"; exit 1; fi
@if ! $(PKG_CONFIG) --atleast-version $(SLEEF_VERSION) sleef; then \
@@ -73,7 +73,7 @@ $(LIBNAME_STATIC): $(OBJ)
all: build_library build_tests
clean__: clean_test
- rm -f $(OBJ) $(TEST_OBJ) $(LIBNAME) rsimd.pc .pkg .simd
+ rm -f $(OBJ) $(TEST_OBJ) $(LIBNAME) rsimd.pc .config .simd
distclean__: clean__
rm -f $(DEP) $(TEST_DEP) .test
@@ -133,7 +133,7 @@ pkg:
# the source directory from having a higher priority than the system include
# directories. In such a situation, the local "math.h" file could be included
# instead of the "math.h" header provided by the C standard library. Note that
-# this is no longer a problem with the common pc file : the "math.h" file is
+# this is no longer a problem with the common pc file: the "math.h" file is
# installed in the "rsimd" subdirectory, which is therefore a prefix of the
# header file allowing it to be distinguished from the header of the standard
# library