commit fc148faf8c283d28c01bac304a6141f06350338a
parent 568dd3110970246f44b8244a54d302e578360b6d
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Wed, 15 Jun 2022 17:01:24 +0200
Update the clean target of the POSIX Make
Do not explicitly remove the test programs since they are already
removed by the clean_test target
Diffstat:
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile
@@ -65,9 +65,9 @@ libs3d.so: $(OBJ)
.config: Makefile
@echo "Setup .config"
@if ! $(PKG_CONFIG) --atleast-version $(RSYS_VERSION) rsys; then \
- echo "rsys $(RSYS_VERSION) not found"; exit 1; fi
+ echo "rsys $(RSYS_VERSION) not found" >&2; exit 1; fi
@if ! $(PKG_CONFIG) --atleast-version $(EMBREE_VERSION) embree; then \
- echo "embree $(EMBREE_VERSION) not found"; exit 1; fi
+ echo "embree $(EMBREE_VERSION) not found" >&2; exit 1; fi
@echo "config done" > .config
.SUFFIXES: .c .d .o
@@ -113,7 +113,6 @@ all: build_library build_tests
clean: clean_test
@rm -f $(OBJ) $(TEST_OBJ) libs3d.so .test s3d.pc .config
- @rm -f $$(for i in $(TEST_SRC); do echo $${i} | sed 's/src\/\(.\{1,\}\).c$$/\1/'; done)
distclean: clean
@rm -f $(DEP) $(TEST_DEP)