LibHashSet/Makefile

17 lines
320 B
Makefile
Raw Normal View History

SUBDIRS := libhashset hashset
2022-11-20 18:02:12 +01:00
BUILD_ALL := $(patsubst %,build\:%,$(SUBDIRS))
CLEAN_ALL := $(patsubst %,clean\:%,$(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:%,%,$@)
2022-11-25 13:36:53 +01:00
$(CLEAN_ALL):
$(MAKE) -C $(patsubst clean:%,%,$@) clean