diff options
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 19 |
1 files changed, 7 insertions, 12 deletions
@@ -1,16 +1,11 @@ MK = make -j -WEKEN = $(wildcard week-*) +WEKEN := $(wildcard oop*w*) +TARGETS := all clean compile_commands zip -submake = $(foreach WEEK,$(WEKEN), $(MK) -C $(WEEK) $(1);) +_: all -all: - $(call submake) +.PHONY: $(TARGETS) $(WEKEN) +$(TARGETS): $(WEKEN) +$(WEKEN): + $(MK) -C $@ $(MAKECMDGOALS) -clean: - $(call submake, clean) - -compile_commands: - $(call submake, compile_commands) - -zip: - $(call submake, zip) |