commit 2eba53ed125cc1787c7ace4a7588296756b0ea8b
parent 399d0e461be223e5baf9c1c33646ebc2b539b665
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Mon, 17 Jul 2023 12:05:46 +0200
Small Makefile tweaks
The .config file does not depend on the make.sh script. This was a
holdover from the previous procedure where dependencies were checked by
the script.
Delete the s3daw-local.pc file on a "clean" call.
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
@@ -46,7 +46,7 @@ $(LIBNAME_STATIC): $(OBJ)
$(AR) -rc $@ $?
$(RANLIB) $@
-.config: make.sh config.mk
+.config: config.mk
@if ! $(PKG_CONFIG) --atleast-version $(AW_VERSION) aw; then\
echo "aw $(AW_VERSION) not found" >&2; exit 1; fi
@if ! $(PKG_CONFIG) --atleast-version $(POLYGON_VERSION) polygon; then\
@@ -108,7 +108,7 @@ uninstall:
all: build_library build_tests
clean: clean_test
- rm -f $(OBJ) $(TEST_OBJ) $(LIBNAME) .config .test s3daw.pc .config
+ rm -f $(OBJ) $(TEST_OBJ) $(LIBNAME) .config .test s3daw.pc s3daw-local.pc
distclean: clean
rm -f $(DEP) $(TEST_DEP)