diff options
author | lonkaars <loek@pipeframe.xyz> | 2022-11-09 11:48:12 +0100 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2022-11-09 11:48:12 +0100 |
commit | ffae2cb77bfb3263146a2de0deedf6528d4df461 (patch) | |
tree | 88e4b61087069f8ce5badadbc6264d20b8a051d5 /makefile | |
parent | d797758769d033c64babdf77ea6b64262f792b23 (diff) |
repository aanpassen voor oop2
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) |