commit 624a3023eb73dfa7d49da121e88c21634e14911b
parent 3fb134dbaadc7b1383b18a162f00063562c958a5
Author: Christophe Coustet <christophe.coustet@meso-star.com>
Date: Fri, 17 Apr 2026 16:20:21 +0200
Fix Makefile
Add a file to the clean target.
Add dependencies to the pkg target.
Fix the config_test target that was checking the version of star-3dut
and should have tested the version of star-sp instead.
Diffstat:
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
@@ -96,7 +96,7 @@ libssol.o: $(OBJ)
################################################################################
# Installation
################################################################################
-pkg:
+pkg: ssol.pc.in config.mk
sed -e 's#@PREFIX@#$(PREFIX)#g'\
-e 's#@VERSION@#$(VERSION)#g'\
-e 's#@RSYS_VERSION@#$(RSYS_VERSION)#g'\
@@ -149,6 +149,7 @@ uninstall:
clean: clean_test
rm -f $(DEP) $(OBJ) $(LIBNAME)
+ rm -f src/ssol_version.h
rm -f .config libssol.o ssol.pc ssol-local.pc
################################################################################
@@ -212,7 +213,7 @@ $(TEST_TGT):
} > $@
.config_test: config.mk
- $(PKG_CONFIG) --atleast-version $(S3DUT_VERSION) s3dut
+ $(PKG_CONFIG) --atleast-version $(SSP_VERSION) star-sp
@echo "config done" > $@
clean_test: