LibHashSet/Makefile

17 lines
340 B
Makefile
Raw Normal View History

SUBDIRS := libhashset hashset
2022-11-20 18:02:12 +01:00
2022-11-25 13:36:53 +01:00
BUILD_ALL := $(patsubst %,build_rule\:%,$(SUBDIRS))
CLEAN_ALL := $(patsubst %,clean_rule\:%,$(SUBDIRS))
2022-11-20 18:02:12 +01:00
2022-11-25 13:36:53 +01:00
.PHONY: all clean $(BUILD_ALL) $(CLEAN_ALL)
2022-11-20 18:02:12 +01:00
2022-11-25 13:36:53 +01:00
all: $(BUILD_ALL)
clean: $(CLEAN_ALL)
$(BUILD_ALL):
$(MAKE) -C $(patsubst build_rule:%,%,$@)
$(CLEAN_ALL):
$(MAKE) -C $(patsubst clean_rule:%,%,$@) clean