Files
agv_pro_ros2/slam_gmapping/openslam_gmapping/build_tools/Makefile.subdirs
T
2025-06-06 16:15:07 +08:00

17 lines
486 B
Makefile

export VERBOSE
.PHONY: clean, all
ifeq ($(VERBOSE), 0)
QUIET=--no-print-directory
endif
all:
@for subdir in $(SUBDIRS); do $(MESSAGE) "Entering $$subdir."; if ! $(MAKE) $(QUIET) -C $$subdir; then $(MESSAGE) "Compilation in $$subdir failed."; exit 1; fi; done
clean:
@for subdir in $(SUBDIRS); do $(MESSAGE) "Entering $$subdir."; $(MAKE) $(QUIET) -C $$subdir clean; done
dep:
@for subdir in $(SUBDIRS); do $(MESSAGE) "Entering $$subdir."; $(MAKE) $(QUIET) -C $$subdir dep; done