--- a/Makefile Thu Oct 12 00:00:35 2023 +0200 +++ b/Makefile Wed Oct 18 21:07:02 2023 +0200 @@ -26,25 +26,25 @@ all: compile install: - @cd src && $(MAKE) -s install + @cd src && $(MAKE) install dist: FORCE - $(MKDIR) $(DIST_DIR)/libucx + $(MKDIR) $(dist_dir)/libucx $(COPYALL) CHANGELOG configure COPYING Doxyfile Makefile README \ - uaplogo.png docs make src tests $(DIST_DIR)/libucx/ - @cd $(DIST_DIR) && tar -czf libucx-src-$(VERSION).tar.gz -Hustar libucx - @echo "[ Dist created: $(DIST_DIR)/libucx-src-$(VERSION).tar.gz ]" + uaplogo.png docs make src tests $(dist_dir)/libucx/ + @cd $(dist_dir) && tar -czf libucx-src-$(VERSION).tar.gz -Hustar libucx + @echo "[ Dist created: $(dist_dir)/libucx-src-$(VERSION).tar.gz ]" clean: - $(RMDIR) $(BUILD_DIR) + $(RMDIR) $(build_dir) dist-clean: - $(RMDIR) $(DIST_DIR) - $(RMDIR) $(BUILD_DIR) + $(RMDIR) $(dist_dir) + $(RMDIR) $(build_dir) -compile: $(BUILD_DIR) static shared +compile: $(build_dir) static shared -$(BUILD_DIR): +$(build_dir): $(MKDIR) $@ shared: FORCE @@ -57,7 +57,7 @@ @cd src && $(MAKE) static check: test-compile FORCE - $(BUILD_DIR)/tests/ucxtest + $(build_dir)/tests/ucxtest test-compile: @(test "$(WITH_TESTS)" = "yes" && cd tests && $(MAKE)) \