2022-11-30 14:40:43 +01:00
|
|
|
SUBDIRS := hash-set
|
2022-11-22 23:31:21 +01:00
|
|
|
|
2022-11-30 14:40:43 +01:00
|
|
|
BUILD_ALL := $(patsubst %,build\:%,$(SUBDIRS))
|
|
|
|
CLEAN_ALL := $(patsubst %,clean\:%,$(SUBDIRS))
|
2022-11-22 23:31:21 +01:00
|
|
|
|
2022-11-30 14:40:43 +01:00
|
|
|
.PHONY: all clean $(BUILD_ALL) $(CLEAN_ALL)
|
2022-11-22 23:31:21 +01:00
|
|
|
|
2022-11-30 14:40:43 +01:00
|
|
|
all: $(BUILD_ALL)
|
2022-11-22 23:31:21 +01:00
|
|
|
|
2022-11-30 14:40:43 +01:00
|
|
|
clean: $(CLEAN_ALL)
|
2022-11-22 23:31:21 +01:00
|
|
|
|
2022-11-30 14:40:43 +01:00
|
|
|
$(BUILD_ALL):
|
|
|
|
$(MAKE) -C $(patsubst build:%,%,$@)
|
2022-11-22 23:31:21 +01:00
|
|
|
|
2022-11-30 14:40:43 +01:00
|
|
|
$(CLEAN_ALL):
|
|
|
|
$(MAKE) -C $(patsubst clean:%,%,$@) clean
|