Radiation-resistantCamera/Vimba_6_0/VimbaC/Examples/Build/Make/Makefile

24 lines
608 B
Makefile
Raw Normal View History

2025-04-30 01:26:04 +00:00
EXAMPLES_DIR = ../..
MAKE_INCLUDE_DIR = $(CURDIR)
include $(MAKE_INCLUDE_DIR)/Common.mk
EXAMPLES = ActionCommands \
AsynchronousGrab \
ForceIP \
ListCameras \
ListFeatures \
ListAncillaryDataFeatures \
SynchronousGrab \
LoadSaveSettings
make_%: $(EXAMPLES_DIR)/%/Build/Make/Makefile
$(MAKE) -C $(EXAMPLES_DIR)/$*/Build/Make
clean_%: $(EXAMPLES_DIR)/%/Build/Make/Makefile
$(MAKE) -C $(EXAMPLES_DIR)/$*/Build/Make clean
all: $(foreach example,$(EXAMPLES),make_$(example))
clean: $(foreach example,$(EXAMPLES),clean_$(example))