diff options
author | lonkaars <loek@pipeframe.xyz> | 2022-10-03 18:14:31 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2022-10-03 18:14:31 +0200 |
commit | d797758769d033c64babdf77ea6b64262f792b23 (patch) | |
tree | 4a8f2b63febed430c357d26becff487a4c6252a9 /makefile | |
parent | 686e8a3bb7fc371d300aee357be6f24a5c77bee2 (diff) |
add zip make target and clean up global makefile
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) |