LibHashSet/Makefile

17 lines
325 B
Makefile
Raw Normal View History

SUBDIRS := libhashset example test
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