diff options
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -1,8 +1,16 @@ MK = make -j WEKEN = $(wildcard week-*) +submake = $(foreach WEEK,$(WEKEN), $(MK) -C $(WEEK) $(1);) + all: - $(foreach WEEK,$(WEKEN), $(MK) -C $(WEEK);) + $(call submake) clean: - $(foreach WEEK,$(WEKEN), $(MK) -C $(WEEK) clean;) + $(call submake, clean) + +compile_commands: + $(call submake, compile_commands) + +zip: + $(call submake, zip) |